add ON_HALT event
authorJim Morris <morris@wolfman.com>
Sat, 9 Aug 2014 22:36:06 +0000 (15:36 -0700)
committerJim Morris <morris@wolfman.com>
Sat, 9 Aug 2014 22:36:06 +0000 (15:36 -0700)
commit3d1a45198726dc72800843e44eb94e027b498959
treebec9f45378966198cbf374e1e346ab8a6b98cdc1
parentcb4a1fd7d517ae3f940743b4552f77cfdb0297f4
add ON_HALT event
turn off heaters and motors in on_halt()
call ON_HALT when a limit switch is hit
src/libs/Module.cpp
src/libs/Module.h
src/modules/robot/Stepper.cpp
src/modules/robot/Stepper.h
src/modules/tools/endstops/Endstops.cpp
src/modules/tools/extruder/Extruder.cpp
src/modules/tools/extruder/Extruder.h
src/modules/tools/temperaturecontrol/TemperatureControl.cpp
src/modules/tools/temperaturecontrol/TemperatureControl.h