Merge pull request #7217 from benlye/add-kill-action

Add configurable action command to send when printer is killed
This commit is contained in:
Scott Lahteine
2017-07-04 16:44:08 -05:00
committed by GitHub
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 ======================
//===========================================================================