OSD side bar

This commit is contained in:
Egor
2024-12-15 13:05:46 -08:00
parent c91952c2f0
commit 05f53591fa
4 changed files with 84 additions and 8 deletions
+2
View File
@@ -1,3 +1,4 @@
#ifdef SERIAL_OUT
#include "comms.h"
#include <config.h>
@@ -293,3 +294,4 @@ String _wrap_str(String v)
String r = String(v.length()) + "\n" + v;
return "WRAP " + String(crc16(r, 0), 16) + " " + r;
}
#endif
+2
View File
@@ -1,6 +1,7 @@
#ifndef __COMMS_H
#define __COMMS_H
#ifdef SERIAL_OUT
#include <HardwareSerial.h>
#include <config.h>
@@ -86,3 +87,4 @@ struct ReadlineComms : Comms
extern Comms *Comms0;
#endif
#endif