Flag unused variables without buzzer (#15016)

This commit is contained in:
Tanguy Pruvot
2019-08-24 05:21:30 +02:00
committed by Scott Lahteine
parent f2ad1ceb13
commit 0a280f00c2
3 changed files with 4 additions and 1 deletions

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

View File

@ -608,6 +608,7 @@ void menu_backlash();
#if HAS_BUZZER
ui.completion_feedback(inited);
#endif
UNUSED(inited);
},
ui.goto_previous_screen,
PSTR(MSG_INIT_EEPROM), nullptr, PSTR("?")