032df0b2c6
Since the class "MainMenu" was used within a static variable the initialization of the object (constructor call) was done before Arduino library startup. It always caused a crash when using AVRStudio with JTAG debugger (caused from calling the LCD initialization / the lot of I/O work / the stack used during this calls). By moving the LCD_INIT out of the constructor and using an explicit call inside of Arduino setup() implementation immediately fixed all problems and the JTAG debugger runs fine. |
||
---|---|---|
.. | ||
Gen7 | ||
hardware/tools/avr/etc | ||
Sanguino | ||
.gitignore | ||
cardreader.cpp | ||
cardreader.h | ||
Configuration.h | ||
Configuration_adv.h | ||
COPYING | ||
create_speed_lookuptable.py | ||
createTemperatureLookup.py | ||
EEPROMwrite.h | ||
fastio.h | ||
language.h | ||
Makefile | ||
Marlin.h | ||
Marlin.pde | ||
MarlinSerial.cpp | ||
MarlinSerial.h | ||
motion_control.cpp | ||
motion_control.h | ||
pins.h | ||
planner.cpp | ||
planner.h | ||
Sd2Card.cpp | ||
Sd2Card.h | ||
Sd2PinMap.h | ||
SdBaseFile.cpp | ||
SdBaseFile.h | ||
SdFatConfig.h | ||
SdFatStructs.h | ||
SdFatUtil.cpp | ||
SdFatUtil.h | ||
SdFile.cpp | ||
SdFile.h | ||
SdInfo.h | ||
SdVolume.cpp | ||
SdVolume.h | ||
speed_lookuptable.h | ||
stepper.cpp | ||
stepper.h | ||
temperature.cpp | ||
temperature.h | ||
thermistortables.h | ||
ultralcd.h | ||
ultralcd.pde | ||
watchdog.h | ||
watchdog.pde | ||
wiring.h |