Copter: minor format fix to sensors.cpp

This commit is contained in:
Randy Mackay 2020-02-17 11:42:25 +09:00
parent 495c4ad6b6
commit eca0d662f0
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ void Copter::read_rangefinder(void)
struct {
RangeFinderState &state;
enum Rotation orientation;
} rngfnd[2] = { {rangefinder_state, ROTATION_PITCH_270}, {rangefinder_up_state, ROTATION_PITCH_90}};
} rngfnd[2] = {{rangefinder_state, ROTATION_PITCH_270}, {rangefinder_up_state, ROTATION_PITCH_90}};
for (uint8_t i=0; i < ARRAY_SIZE(rngfnd); i++) {
// local variables to make accessing simpler