Fix serial port redirection (index ≠ port num) (#16687)

This commit is contained in:
Robby Candra
2020-01-27 11:46:26 +07:00
committed by Scott Lahteine
parent 2325bede8a
commit a0a93e35ae
3 changed files with 10 additions and 11 deletions

View File

@@ -150,7 +150,7 @@ private:
*/
static bool enqueue_one(const char* cmd);
static void gcode_line_error(PGM_P const err, const int8_t port);
static void gcode_line_error(PGM_P const err, const int8_t pn);
};