Merge pull request #7988 from thinkyhead/bf1_progress_percentage

Add Capability BUILD_PERCENT
This commit is contained in:
Scott Lahteine 2017-10-15 03:12:31 -05:00 committed by GitHub
commit 5911dc597a

View File

@ -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");