Browse Source

Whitespace cleanup

vanilla_fb_2.0.x
Scott Lahteine 4 years ago
parent
commit
8e0fac897b
  1. 3
      Marlin/src/HAL/ESP32/WebSocketSerial.cpp

3
Marlin/src/HAL/ESP32/WebSocketSerial.cpp

@ -139,9 +139,8 @@ size_t WebSocketSerial::write(const uint8_t c) {
size_t WebSocketSerial::write(const uint8_t* buffer, size_t size) { size_t WebSocketSerial::write(const uint8_t* buffer, size_t size) {
size_t written = 0; size_t written = 0;
for(size_t i = 0; i < size; i++) { for (size_t i = 0; i < size; i++)
written += write(buffer[i]); written += write(buffer[i]);
}
return written; return written;
} }

Loading…
Cancel
Save