mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-08-08 10:50:52 +00:00
.
This commit is contained in:
@@ -38,7 +38,7 @@ This enables fine-grained speed control, supports differential drive configurati
|
||||
Why Use __attribute((packed))?
|
||||
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
The packed attribute tells the compiler not to add any padding between fields in memory. This makes the struct:
|
||||
The *packed* attribute tells the compiler not to add any padding between fields in memory. This makes the struct:
|
||||
|
||||
- Compact
|
||||
- Predictable for serialization over protocols like UART or ESP-NOW
|
||||
|
Reference in New Issue
Block a user