Marlin: [BUG] Compilation errors when TURBO_BACK_MENU_ITEM defined

Created on 23 Aug 2019  路  8Comments  路  Source: MarlinFirmware/Marlin

Steps to Reproduce

  1. [First Step]
    define TURBO_BACK_MENU_ITEM in Configuration_adv.h
  2. [Second Step]
    Start compiling
    Expected behavior: [What you expect to happen]
    Compilation OK
    Actual behavior: [What actually happens]
    Every call to ui.goto_previous_screen function leads to an error such this one :
    Marlin\src\lcd\menu\menu_advanced.cpp:613:16: error: invalid conversion from void (*)(bool) to selectFunc_t {aka void (*)()}' [-fpermissive] ui.goto_previous_screen, PSTR(MSG_INIT_EEPROM), nullptr, PSTR("?"));
    ~^~~~~~

Most helpful comment

i assume that https://github.com/MarlinFirmware/Marlin/pull/15019 fix's the issue, we can always reopen this one if that is not the case

All 8 comments

I can confirm the same thing

Guys, there are a lot of settings, please add the configuration files!

@Ludy87 please, don't hide the issue behind the lack of conf files !
Try yourself to activate TURBO_BACK_MENU_ITEM, whatever your conf, and you will see the results.
BTW, I still can't understand how is it possible to merge non-compilable code...

Now that I'm bored, I've found out that 'EEPROM_SETTINGS' must be ENABLED.

thank you for your cooperation

See: https://github.com/MarlinFirmware/Marlin/pull/15019

@boelle

Please close issue.

i assume that https://github.com/MarlinFirmware/Marlin/pull/15019 fix's the issue, we can always reopen this one if that is not the case

Issue fixed.
Thank you

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Tamonir picture Tamonir  路  3Comments

jerryerry picture jerryerry  路  4Comments

Kaibob2 picture Kaibob2  路  4Comments

ceturan picture ceturan  路  4Comments

Ciev picture Ciev  路  3Comments