mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 03:23:35 +08:00
Fixed style issue with Astyle 3.1
This commit is contained in:
@@ -42,7 +42,7 @@ int RcInput::init()
|
||||
/**
|
||||
* initialize the data of each channel
|
||||
*/
|
||||
for (i = 0; i < input_rc_s::RC_INPUT_MAX_CHANNELS && i<16; ++i) {
|
||||
for (i = 0; i < input_rc_s::RC_INPUT_MAX_CHANNELS && i < 16; ++i) {
|
||||
//_data.values defined as int[16] and RC_INPUT_MAX_CHANNELS (=18) > 16
|
||||
_data.values[i] = UINT16_MAX;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user