Introduced frskyCellVoltage_t type and united code with frskyUpdateCells()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user