Sfoglia il codice sorgente

fix possible error caused by wrong datatype

Fischer, Simon 3 anni fa
parent
commit
0a6d0f44db
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/shellmatta_transport.h

+ 1 - 1
src/shellmatta_transport.h

@@ -96,7 +96,7 @@ typedef struct
 
 extern uint8_t protocolVersion;
 extern shellmatta_transport_packet_t packetType;
-extern uint8_t payloadLength;
+extern uint32_t payloadLength;
 extern uint8_t source;
 extern uint8_t destination;
 extern uint32_t crc32;