Skip to content
Snippets Groups Projects
Commit 5b1b7aa7 authored by dawehr's avatar dawehr
Browse files

added a todo comment for endienness issues

parent efdb2727
No related branches found
No related tags found
No related merge requests found
...@@ -214,6 +214,7 @@ int cb_getcontrol(modular_structs_t* structs) ...@@ -214,6 +214,7 @@ int cb_getcontrol(modular_structs_t* structs)
// Controller value ID // Controller value ID
resp_data[1] = controller_value_id; resp_data[1] = controller_value_id;
// Controller value (4 byte float) // Controller value (4 byte float)
// TODO set a strict byte ordering for communication between the ground station and the quad
memcpy(&resp_data[2], &controller_value, sizeof(controller_value)); memcpy(&resp_data[2], &controller_value, sizeof(controller_value));
// Send the data // Send the data
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment