This program is porting rosserial_arduino for mbed http://www.ros.org/wiki/rosserial_arduino This program supported the revision of 169 of rosserial.
Dependents: rosserial_mbed robot_S2
Diff: std_msgs/Bool.h
- Revision:
- 1:ff0ec969dad1
- Parent:
- 0:77afd7560544
- Child:
- 3:1cf99502f396
--- a/std_msgs/Bool.h Fri Aug 19 09:06:30 2011 +0000 +++ b/std_msgs/Bool.h Sun Oct 16 07:19:36 2011 +0000 @@ -19,7 +19,7 @@ int offset = 0; union { bool real; - unsigned char base; + uint8_t base; } u_data; u_data.real = this->data; *(outbuffer + offset + 0) = (u_data.base >> (8 * 0)) & 0xFF; @@ -32,7 +32,7 @@ int offset = 0; union { bool real; - unsigned char base; + uint8_t base; } u_data; u_data.base = 0; u_data.base |= ((typeof(u_data.base)) (*(inbuffer + offset + 0))) << (8 * 0);