mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
Added coment to actuators_asctec to clarify missing break statement (so Coverity is happy)
This commit is contained in:
@@ -143,6 +143,7 @@ void actuators_asctec_v2_set(void)
|
||||
break;
|
||||
case 4:
|
||||
//update ID of the motor based on the address
|
||||
// NOTE: the missing break; at the end of this case is intentional
|
||||
actuators_asctec_v2.i2c_trans.buf[0] = actuators_asctec_v2.new_addr;
|
||||
actuators_asctec_v2.i2c_trans.buf[1] = serial_num[0];
|
||||
actuators_asctec_v2.i2c_trans.buf[2] = serial_num[1];
|
||||
|
||||
Reference in New Issue
Block a user