1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 12:25:20 +03:00

Whitespace fixes

This commit is contained in:
Petr Ledvina 2015-01-29 15:11:27 +01:00
parent f1ac4f8461
commit a67d2f8a9e
2 changed files with 5 additions and 5 deletions

View file

@ -162,7 +162,7 @@ void init(void)
ledInit(); ledInit();
#ifdef SPEKTRUM_BIND #ifdef SPEKTRUM_BIND
if (feature(FEATURE_RX_SERIAL)) { if (feature(FEATURE_RX_SERIAL)) {
switch (masterConfig.rxConfig.serialrx_provider) { switch (masterConfig.rxConfig.serialrx_provider) {
case SERIALRX_SPEKTRUM1024: case SERIALRX_SPEKTRUM1024:

View file

@ -219,15 +219,15 @@ static inline void hottEAMUpdateBattery(HOTT_EAM_MSG_t *hottEAMMessage)
static inline void hottEAMUpdateCurrentMeter(HOTT_EAM_MSG_t *hottEAMMessage) static inline void hottEAMUpdateCurrentMeter(HOTT_EAM_MSG_t *hottEAMMessage)
{ {
int32_t amp = amperage / 10; int32_t amp = amperage / 10;
hottEAMMessage->current_L = amp & 0xFF; hottEAMMessage->current_L = amp & 0xFF;
hottEAMMessage->current_H = amp >> 8; hottEAMMessage->current_H = amp >> 8;
} }
static inline void hottEAMUpdateBatteryDrawnCapacity(HOTT_EAM_MSG_t *hottEAMMessage) static inline void hottEAMUpdateBatteryDrawnCapacity(HOTT_EAM_MSG_t *hottEAMMessage)
{ {
int32_t mAh = mAhDrawn / 10; int32_t mAh = mAhDrawn / 10;
hottEAMMessage->batt_cap_L = mAh & 0xFF; hottEAMMessage->batt_cap_L = mAh & 0xFF;
hottEAMMessage->batt_cap_H = mAh >> 8; hottEAMMessage->batt_cap_H = mAh >> 8;
} }