diff --git a/src/main/main.c b/src/main/main.c index 7e530b3f32..5c48aee3c9 100644 --- a/src/main/main.c +++ b/src/main/main.c @@ -162,7 +162,7 @@ void init(void) ledInit(); - #ifdef SPEKTRUM_BIND +#ifdef SPEKTRUM_BIND if (feature(FEATURE_RX_SERIAL)) { switch (masterConfig.rxConfig.serialrx_provider) { case SERIALRX_SPEKTRUM1024: diff --git a/src/main/telemetry/hott.c b/src/main/telemetry/hott.c index d0bfd56bfd..e81359d293 100644 --- a/src/main/telemetry/hott.c +++ b/src/main/telemetry/hott.c @@ -219,15 +219,15 @@ static inline void hottEAMUpdateBattery(HOTT_EAM_MSG_t *hottEAMMessage) static inline void hottEAMUpdateCurrentMeter(HOTT_EAM_MSG_t *hottEAMMessage) { - int32_t amp = amperage / 10; - hottEAMMessage->current_L = amp & 0xFF; + int32_t amp = amperage / 10; + hottEAMMessage->current_L = amp & 0xFF; hottEAMMessage->current_H = amp >> 8; } static inline void hottEAMUpdateBatteryDrawnCapacity(HOTT_EAM_MSG_t *hottEAMMessage) { - int32_t mAh = mAhDrawn / 10; - hottEAMMessage->batt_cap_L = mAh & 0xFF; + int32_t mAh = mAhDrawn / 10; + hottEAMMessage->batt_cap_L = mAh & 0xFF; hottEAMMessage->batt_cap_H = mAh >> 8; }