fix code style if trivial one line difference

This commit is contained in:
Daniel Agar
2015-03-19 23:49:36 +01:00
committed by Lorenz Meier
parent c147424fe7
commit c2abb0f82a
37 changed files with 38 additions and 33 deletions
+1 -1
View File
@@ -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;
}