Code: Select all
struct rfid_task {
uint8 len;
uint8 uid[10];
int16_t task_id;
};
但是我定义一个这样的结构体sizeof的结果确实14,而不是16
Postby mmmmar » Sun May 14, 2017 2:14 pm
Code: Select all
struct rfid_task {
uint8 len;
uint8 uid[10];
int16_t task_id;
};
Users browsing this forum: No registered users and 316 guests
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.