Introduced frskyCellVoltage_t type and united code with frskyUpdateCells()

This commit is contained in:
Damjan Adamic
2014-07-02 12:57:36 +02:00
parent e6370ebb2a
commit 038365e639
4 changed files with 21 additions and 36 deletions
+5 -2
View File
@@ -462,9 +462,12 @@ void telemetryInit(void);
void telemetryInterrupt10ms(void);
#if defined(CPUARM)
void frskySetCellVoltage(uint8_t battnumber, uint16_t cellVolts);
typedef uint16_t frskyCellVoltage_t;
#elif defined(FRSKY_HUB)
void frskySetCellVoltage(uint8_t battnumber, uint8_t cellVolts);
typedef uint16_t frskyCellVoltage_t;
#endif
void frskySetCellVoltage(uint8_t battnumber, frskyCellVoltage_t cellVolts);
void frskyUpdateCells(void);
#endif