Browse Source

Fix inline AnycubicSerial method

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
2119e19bff
  1. 2
      Marlin/src/lcd/extui/lib/anycubic/anycubic_serial.h

2
Marlin/src/lcd/extui/lib/anycubic/anycubic_serial.h

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

Loading…
Cancel
Save