From 3e823a1fc6e99c26611b60f1ab89ce430694d451 Mon Sep 17 00:00:00 2001 From: Peter Feerick Date: Mon, 16 Oct 2023 07:36:55 +1000 Subject: [PATCH] fix: T20 Trims --- radio/src/targets/taranis/board.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/radio/src/targets/taranis/board.h b/radio/src/targets/taranis/board.h index d830df0fe75..d6ac0d8dcb6 100644 --- a/radio/src/targets/taranis/board.h +++ b/radio/src/targets/taranis/board.h @@ -481,4 +481,12 @@ void setTopBatteryValue(uint32_t volts); #define VOLTAGE_DROP 20 #endif +#if defined(RADIO_T20) +#define NUM_TRIMS 8 +#else +#define NUM_TRIMS 4 +#endif + +#define NUM_TRIMS_KEYS (NUM_TRIMS * 2) + #endif // _BOARD_H_