Made line number reporting optional via config.h
This commit is contained in:
parent
6fdb35a7da
commit
cd71a90ce8
4 changed files with 15 additions and 3 deletions
3
report.c
3
report.c
|
|
@ -350,6 +350,7 @@ void report_realtime_status()
|
|||
if (i < (N_AXIS-1)) { printPgmString(PSTR(",")); }
|
||||
}
|
||||
|
||||
#ifdef USE_LINE_NUMBERS
|
||||
// Report current line number
|
||||
printPgmString(PSTR(","));
|
||||
printPgmString(PSTR("Ln:"));
|
||||
|
|
@ -359,7 +360,7 @@ void report_realtime_status()
|
|||
ln = pb->line_number;
|
||||
}
|
||||
printInteger(ln);
|
||||
|
||||
#endif
|
||||
|
||||
printPgmString(PSTR(">\r\n"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue