Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: VNH5019
Dependents: Aigamozu_Robot_展示会 Aigamozu_Robot_March Aigamozu_Robot_templete
Fork of AigamozuControlPackets by
Diff: AigamozuControlPackets.cpp
- Revision:
- 30:abc6740124d4
- Parent:
- 26:195c054a0148
--- a/AigamozuControlPackets.cpp Fri May 15 09:23:45 2015 +0000 +++ b/AigamozuControlPackets.cpp Sat May 16 17:25:26 2015 +0000 @@ -94,15 +94,10 @@ void AigamozuControlPackets::set_base_status(int i, uint8_t *status){ - UNION_int_char sta; - - for(int j = 0;j < 8;j++){ - sta.char_value[j]= status[j]; - } - - base_status[i] = sta.int_value; + base_status[i] = *status; } + ////////////////////////////// // Controller/Base -> Robot // //////////////////////////////