Merge pull request from mkbel/fix_compiler_warnings

Fix compiler warnings
This commit is contained in:
PavelSindler 2018-09-05 16:53:51 +02:00 committed by GitHub
commit ed43913c5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 8 deletions
Firmware

View file

@ -467,13 +467,11 @@ void mmu_M600_wait_and_beep() {
void mmu_M600_load_filament(bool automatic)
{
//load filament for mmu v2
bool yes = false;
tmp_extruder = mmu_extruder;
if (!automatic) {
#ifdef MMU_M600_SWITCH_EXTRUDER
yes = lcd_show_fullscreen_message_yes_no_and_wait_P(_i("Do you want to switch extruder?"), false);
bool yes = lcd_show_fullscreen_message_yes_no_and_wait_P(_i("Do you want to switch extruder?"), false);
if(yes) tmp_extruder = choose_extruder_menu();
else tmp_extruder = mmu_extruder;
#endif //MMU_M600_SWITCH_EXTRUDER
}
else {