From a67d2f8a9e30c54a6a1c38e307d5547471ebfd28 Mon Sep 17 00:00:00 2001 From: Petr Ledvina Date: Thu, 29 Jan 2015 15:11:27 +0100 Subject: [PATCH] Whitespace fixes --- src/main/main.c | 2 +- src/main/telemetry/hott.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/main.c b/src/main/main.c index 7e530b3f3..5c48aee3c 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 d0bfd56bf..e81359d29 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; } -- 2.11.4.GIT