mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Fix:remove unused variable
This commit is contained in:
parent
50d287a9d4
commit
8eccc325ae
1 changed files with 2 additions and 2 deletions
|
@ -69,7 +69,7 @@ extern "C" {
|
||||||
int sbufBytesRemaining(sbuf_t *buf);
|
int sbufBytesRemaining(sbuf_t *buf);
|
||||||
void initSharedMsp();
|
void initSharedMsp();
|
||||||
uint16_t testBatteryVoltage = 0;
|
uint16_t testBatteryVoltage = 0;
|
||||||
uint16_t testAvgCellVoltage = 0;
|
|
||||||
int32_t testAmperage = 0;
|
int32_t testAmperage = 0;
|
||||||
uint8_t mspTxData[64]; //max frame size
|
uint8_t mspTxData[64]; //max frame size
|
||||||
sbuf_t mspTxDataBuf;
|
sbuf_t mspTxDataBuf;
|
||||||
|
@ -261,7 +261,7 @@ extern "C" {
|
||||||
return testBatteryVoltage;
|
return testBatteryVoltage;
|
||||||
}
|
}
|
||||||
uint16_t getBatteryAverageCellVoltage(void) {
|
uint16_t getBatteryAverageCellVoltage(void) {
|
||||||
return testAvgCellVoltage;
|
return 0;
|
||||||
}
|
}
|
||||||
bool isAmperageConfigured(void) { return true; }
|
bool isAmperageConfigured(void) { return true; }
|
||||||
int32_t getAmperage(void) {
|
int32_t getAmperage(void) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue