From b2c78d71b05690c68e4e48e6bba0c7bdebf8814d Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Sun, 16 Aug 2020 15:39:30 -0400 Subject: gcode: Remove "action_" commands from get_status() calls Rename printer.gcode.action_emergency_stop() to action_emergency_stop(), printer.gcode.action_respond_info() to action_respond_info(), and printer.gcode.action_respond_error() to action_raise_error() in command templates. This simplifies the get_status() interface, as returning callable functions from that interface was confusing. Signed-off-by: Kevin O'Connor --- docs/Config_Changes.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'docs/Config_Changes.md') diff --git a/docs/Config_Changes.md b/docs/Config_Changes.md index b92cf5a2..e0cc4c03 100644 --- a/docs/Config_Changes.md +++ b/docs/Config_Changes.md @@ -6,6 +6,12 @@ All dates in this document are approximate. # Changes +20200816: The gcode macro "action_" system has changed. Replace any +calls to `printer.gcode.action_emergency_stop()` with +`action_emergency_stop()`, `printer.gcode.action_respond_info()` with +`action_respond_info()`, and `printer.gcode.action_respond_error()` +with `action_raise_error()`. + 20200809: The menu system has been rewritten. If the menu has been customized then it will be necessary to update to the new configuration. See config/example-menu.cfg for configuration details -- cgit v1.2.3-70-g09d2