Fix inline AnycubicSerial method

This commit is contained in:
Scott Lahteine 2020-07-21 05:41:10 -05:00
parent 6027055695
commit 2119e19bff

View File

@ -133,7 +133,7 @@ const char newSucc[] PROGMEM = "OK";
FORCE_INLINE void AnycubicSerialprintPGM(const char *str) {
char ch = pgm_read_byte(str);
while (ch) {
AnycubicSerial.write(ch);
AnycubicSerialClass::write(ch);
ch = pgm_read_byte(++str);
}
}