Split get_command into units, rename to get_available_commands

This commit is contained in:
Scott Lahteine
2016-03-28 05:25:27 -07:00
parent 545f7997ea
commit 0b8ef5eba6
2 changed files with 29 additions and 19 deletions

View File

@@ -109,7 +109,6 @@ void serial_echopair_P(const char* s_P, float v);
void serial_echopair_P(const char* s_P, double v);
void serial_echopair_P(const char* s_P, unsigned long v);
// Things to write to serial from Program memory. Saves 400 to 2k of RAM.
FORCE_INLINE void serialprintPGM(const char* str) {
char ch;
@@ -119,8 +118,6 @@ FORCE_INLINE void serialprintPGM(const char* str) {
}
}
void get_command();
void idle(
#if ENABLED(FILAMENTCHANGEENABLE)
bool no_stepper_sleep=false // pass true to keep steppers from disabling on timeout