mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 19:01:38 +08:00
fix code style if trivial one line difference
This commit is contained in:
committed by
Lorenz Meier
parent
c147424fe7
commit
c2abb0f82a
@@ -142,7 +142,7 @@ sbus1_output(uint16_t *values, uint16_t num_values)
|
||||
value = (uint16_t)(((values[i] - SBUS_SCALE_OFFSET) / SBUS_SCALE_FACTOR) + .5f);
|
||||
|
||||
/*protect from out of bounds values and limit to 11 bits*/
|
||||
if (value > 0x07ff ) {
|
||||
if (value > 0x07ff) {
|
||||
value = 0x07ff;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user