Switch driver, key/trim driver

This commit is contained in:
Richard Li
2025-01-24 19:00:12 +01:00
committed by Malte Langermann
parent 7dcb4b3d9a
commit 276f10e7bb
9 changed files with 247 additions and 42 deletions
@@ -25,7 +25,9 @@
#include "libopenui.h"
#include "edgetx.h"
#if defined(PCBPL18)
#if defined(RADIO_NB4P)
static const uint8_t _trimMap[MAX_TRIMS * 2] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15};
#elif defined(PCBPL18)
static const uint8_t _trimMap[MAX_TRIMS * 2] = {8, 9, 10, 11, 12, 13, 14, 15,
2, 3, 4, 5, 0, 1, 6, 7};
#else