Flag unused variables without buzzer (#15016)

This commit is contained in:
Tanguy Pruvot authored and Scott Lahteine committed 2019-08-23 22:21:30 -05:00
1 parent f2ad1ceb13
commit 0a280f00c2
3 files changed
+4 -1

No files matched your search

+2
View File
@@ -453,12 +453,14 @@ void scroll_screen(const uint8_t limit, const bool is_menu) {
#if HAS_BUZZER
ui.completion_feedback(saved);
#endif
UNUSED(saved);
}
void lcd_load_settings() {
const bool loaded = settings.load();
#if HAS_BUZZER
ui.completion_feedback(loaded);
#endif
UNUSED(loaded);
}
#endif