瀏覽代碼

fix possible error caused by wrong datatype

Fischer, Simon 3 年之前
父節點
當前提交
0a6d0f44db
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;