Added coment to actuators_asctec to clarify missing break statement (so Coverity is happy)

This commit is contained in:
Michal Podhradsky
2017-06-13 11:29:06 -07:00
parent 295a6afbeb
commit 124f04fb0f
@@ -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];