Browse Source

Fix inline AnycubicSerial method

Scott Lahteine 3 years ago
parent
commit
2119e19bff
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      Marlin/src/lcd/extui/lib/anycubic/anycubic_serial.h

+ 3
- 3
Marlin/src/lcd/extui/lib/anycubic/anycubic_serial.h View File

@@ -131,10 +131,10 @@ const char newSucc[] PROGMEM = "OK";
131 131
 #define ANYCUBIC_SERIAL_ECHO(x) ANYCUBIC_SERIAL_PROTOCOL(x)
132 132
 
133 133
 FORCE_INLINE void AnycubicSerialprintPGM(const char *str) {
134
-  char ch=pgm_read_byte(str);
134
+  char ch = pgm_read_byte(str);
135 135
   while (ch) {
136
-    AnycubicSerial.write(ch);
137
-    ch=pgm_read_byte(++str);
136
+    AnycubicSerialClass::write(ch);
137
+    ch = pgm_read_byte(++str);
138 138
   }
139 139
 }
140 140
 

Loading…
Cancel
Save