Search found 1 match
- Wed Oct 11, 2023 8:53 am
- Forum: ESP32 Arduino
- Topic: size of struct with bitfields greater than expected?
- Replies: 2
- Views: 3404
size of struct with bitfields greater than expected?
Hi, I am new to this forum. I am using the Arduino Framework (ESP8266, ESP32). I am basically trying to understand why the total size of the following structure is not 4 bytes like expected. Instead when I print the size out to the serial terminal, it says 6 bytes. typedef struct date_time_stamp { u...