Fix X7 battery voltage calibration
This commit is contained in:
@@ -390,7 +390,11 @@ extern uint16_t adcValues[NUMBER_ANALOG];
|
||||
uint16_t getAnalogValue(uint8_t index);
|
||||
uint16_t getBatteryVoltage(); // returns current battery voltage in 10mV steps
|
||||
|
||||
#define BATT_SCALE 150
|
||||
#if defined(PCBX7)
|
||||
#define BATT_SCALE 123
|
||||
#else
|
||||
#define BATT_SCALE 150
|
||||
#endif
|
||||
|
||||
#if defined(__cplusplus) && !defined(SIMU)
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user