Skip to content

Commit

Permalink
Add Capability BUILD_PERCENT
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Oct 15, 2017
1 parent 6efad5e commit 5c2ff6e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Marlin/Marlin_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8267,6 +8267,13 @@ inline void gcode_M115() {
SERIAL_PROTOCOLLNPGM("Cap:LEVELING_DATA:0");
#endif

// BUILD_PERCENT (M73)
#if ENABLED(LCD_SET_PROGRESS_MANUALLY)
SERIAL_PROTOCOLLNPGM("Cap:BUILD_PERCENT:1");
#else
SERIAL_PROTOCOLLNPGM("Cap:BUILD_PERCENT:0");
#endif

// SOFTWARE_POWER (M80, M81)
#if HAS_POWER_SWITCH
SERIAL_PROTOCOLLNPGM("Cap:SOFTWARE_POWER:1");
Expand Down

0 comments on commit 5c2ff6e

Please sign in to comment.