Przeglądaj źródła

Increase MAX_FRAME_SIZE by 4 bytes

It's the safest fix for now to fix region scoped messages from being
dropped early
Wessel Nieboer 5 miesięcy temu
rodzic
commit
62f1b11d5b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/helpers/BaseSerialInterface.h

+ 1 - 1
src/helpers/BaseSerialInterface.h

@@ -2,7 +2,7 @@
 
 #include <Arduino.h>
 
-#define MAX_FRAME_SIZE  172
+#define MAX_FRAME_SIZE  176   // +4 for transport codes (region scoping)
 
 class BaseSerialInterface {
 protected: