Skip to content

Commit

Permalink
fix: Missing conditional for BATTERY_DIVIDER
Browse files Browse the repository at this point in the history
  • Loading branch information
pfeerick committed Aug 16, 2022
1 parent b69a83a commit 6e74e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion radio/src/targets/taranis/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -977,7 +977,7 @@ extern Fifo<uint8_t, TELEMETRY_FIFO_SIZE> telemetryFifo;

#if defined (RADIO_TX12)
#define BATTERY_DIVIDER 22830
#elif defined (RADIO_T8)
#elif defined (RADIO_T8) || defined(RADIO_COMMANDO8)
#define BATTERY_DIVIDER 50000
#elif defined (RADIO_ZORRO) || defined(RADIO_TX12MK2)
#define BATTERY_DIVIDER 23711 // = 2047*128*BATT_SCALE/(100*(VREF*(160+499)/160))
Expand Down

0 comments on commit 6e74e46

Please sign in to comment.