Flag unused variables without buzzer (#15016)
This commit is contained in:
parent
f2ad1ceb13
commit
0a280f00c2
|
@ -453,12 +453,14 @@ void scroll_screen(const uint8_t limit, const bool is_menu) {
|
||||||
#if HAS_BUZZER
|
#if HAS_BUZZER
|
||||||
ui.completion_feedback(saved);
|
ui.completion_feedback(saved);
|
||||||
#endif
|
#endif
|
||||||
|
UNUSED(saved);
|
||||||
}
|
}
|
||||||
void lcd_load_settings() {
|
void lcd_load_settings() {
|
||||||
const bool loaded = settings.load();
|
const bool loaded = settings.load();
|
||||||
#if HAS_BUZZER
|
#if HAS_BUZZER
|
||||||
ui.completion_feedback(loaded);
|
ui.completion_feedback(loaded);
|
||||||
#endif
|
#endif
|
||||||
|
UNUSED(loaded);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -608,6 +608,7 @@ void menu_backlash();
|
||||||
#if HAS_BUZZER
|
#if HAS_BUZZER
|
||||||
ui.completion_feedback(inited);
|
ui.completion_feedback(inited);
|
||||||
#endif
|
#endif
|
||||||
|
UNUSED(inited);
|
||||||
},
|
},
|
||||||
ui.goto_previous_screen,
|
ui.goto_previous_screen,
|
||||||
PSTR(MSG_INIT_EEPROM), nullptr, PSTR("?")
|
PSTR(MSG_INIT_EEPROM), nullptr, PSTR("?")
|
||||||
|
|
|
@ -366,7 +366,7 @@ build_flags = !python Marlin/src/HAL/HAL_STM32F1/STM32F1_flag_script.py
|
||||||
build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1
|
build_unflags = -std=gnu++11 -DCONFIG_MAPLE_MINI_NO_DISABLE_DEBUG=1
|
||||||
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
src_filter = ${common.default_src_filter} +<src/HAL/HAL_STM32F1>
|
||||||
lib_deps = ${common.lib_deps}
|
lib_deps = ${common.lib_deps}
|
||||||
lib_ignore = Adafruit NeoPixel, SPI
|
lib_ignore = Adafruit NeoPixel, LiquidTWI2, SPI
|
||||||
|
|
||||||
#
|
#
|
||||||
# MKS Robin (STM32F103ZET6)
|
# MKS Robin (STM32F103ZET6)
|
||||||
|
|
Loading…
Reference in a new issue