Update MenuFunctions.cpp to prevent bootloop. #499
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
To prevent bootloop due to FatalError (LoadProhibited), as the object that is being called is declared only for MARAUDER_MINI
0x400dd03d: MenuFunctions::addNodes(Menu*, String, unsigned short, Menu*, int, std::function, bool, String) at /home/runner/work/ESP32Marauder/ESP32Marauder/esp32_marauder/MenuFunctions.cpp:1966
0x400dd03a: MenuFunctions::addNodes(Menu*, String, unsigned short, Menu*, int, std::function, bool, String) at /home/runner/work/ESP32Marauder/ESP32Marauder/esp32_marauder/MenuFunctions.cpp:1966
0x400df1de: MenuFunctions::RunSetup() at /home/runner/work/ESP32Marauder/ESP32Marauder/esp32_marauder/MenuFunctions.cpp:1547
0x400ee9c0: setup() at /home/runner/work/ESP32Marauder/ESP32Marauder/esp32_marauder/esp32_marauder.ino:367
0x4012871a: loopTask(void*) at /home/runner/.arduino15/packages/m5stack/hardware/esp32/2.1.0/cores/esp32/main.cpp:42