Add kill action

Sends pre-defined string as action command when printer is kill.
This commit is contained in:
Ben Lye
2017-07-02 09:44:24 +01:00
committed by benlye
parent 395a9f59ac
commit c28749a567
27 changed files with 186 additions and 0 deletions

View File

@ -1266,6 +1266,13 @@
#define USER_GCODE_5 "G28\nM503"
#endif
/**
* Specify an action command to send to the host when the printer is killed.
* Will be sent in the form '//action:ACTION_ON_KILL', e.g. '//action:poweroff'.
* The host must be configured to handle the action command.
*/
//#define ACTION_ON_KILL "poweroff"
//===========================================================================
//====================== I2C Position Encoder Settings ======================
//===========================================================================