TheNuclearDart / bringup

STM32F7 discovery board bringup
GNU Affero General Public License v3.0
0 stars 0 forks source link

Enforce message sizes properly in task message headers #23

Open TheNuclearDart opened 5 months ago

TheNuclearDart commented 5 months ago

In at least both main_task_msgs.h and uart_task_msgs.h, message sizes aren't enforced properly within the unions or other message types, the size is only enforced for the generic messages in fw_tasks.h. This means that the union could actually end up sized differently if the other messages in the union are larger than the generic message.