mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 00:35:39 +03:00
Fix battery unit test compilation.
This commit is contained in:
parent
9ffe8779d7
commit
f513016cc9
1 changed files with 3 additions and 0 deletions
|
@ -73,6 +73,9 @@ TEST(BatteryTest, BatteryADCToVoltage)
|
||||||
|
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
|
||||||
|
uint8_t armingFlags = 0;
|
||||||
|
int16_t rcCommand[4] = {0,0,0,0};
|
||||||
|
|
||||||
uint16_t adcGetChannel(uint8_t channel)
|
uint16_t adcGetChannel(uint8_t channel)
|
||||||
{
|
{
|
||||||
UNUSED(channel);
|
UNUSED(channel);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue