Browse Source

change zscanprotocol.hpp to zscanprotocol.h

master
zhaohe 11 months ago
parent
commit
81529a15c5
  1. 22
      zscanprotocol.h

22
zscanprotocol.hpp → zscanprotocol.h

@ -1,20 +1,5 @@
#pragma once
#include <stdint.h>
namespace iflytop {
namespace zscanprotocol {
#pragma pack(1)
/**
* @brief 12bit from,1bit emergency
* H L
* [1] [4bit] [8bit] [8bit] [4bit/4bit]
* , from to frameNum/frameId
*/
//
typedef enum {
kcmd,
kreceipt,
@ -42,10 +27,3 @@ typedef struct {
uint16_t function_id;
uint8_t params[];
} zcanbus_packet_t;
#pragma pack()
} // namespace zscanprotocol
namespace err {
}
} // namespace iflytop
Loading…
Cancel
Save