Clean up namings
This commit is contained in:
committed by
Malte Langermann
parent
6db25b324b
commit
c5e7729a33
@@ -175,7 +175,7 @@ add_library(board OBJECT EXCLUDE_FROM_ALL
|
||||
set(FIRMWARE_SRC ${FIRMWARE_SRC} $<TARGET_OBJECTS:board>)
|
||||
|
||||
if(PCBREV STREQUAL NB4P)
|
||||
target_sources(board PRIVATE ${TARGET_SRC_DIR}/switch_driver.cpp)
|
||||
target_sources(board PRIVATE ${TARGET_SRC_DIR}/nb4p_switch_driver.cpp)
|
||||
endif()
|
||||
|
||||
set(FIRMWARE_SRC
|
||||
|
||||
@@ -53,14 +53,14 @@
|
||||
|
||||
#if defined(RADIO_NB4P)
|
||||
// Trims
|
||||
#define TRIMS_GPIO_REG_LHL
|
||||
#define TRIMS_GPIO_PIN_LHL
|
||||
#define TRIMS_GPIO_REG_LHR
|
||||
#define TRIMS_GPIO_PIN_LHR
|
||||
#define TRIMS_GPIO_REG_LVD
|
||||
#define TRIMS_GPIO_PIN_LVD
|
||||
#define TRIMS_GPIO_REG_LVU
|
||||
#define TRIMS_GPIO_PIN_LVU
|
||||
#define TRIMS_GPIO_REG_T1L
|
||||
#define TRIMS_GPIO_PIN_T1L
|
||||
#define TRIMS_GPIO_REG_T1R
|
||||
#define TRIMS_GPIO_PIN_T1R
|
||||
#define TRIMS_GPIO_REG_T2L
|
||||
#define TRIMS_GPIO_PIN_T2L
|
||||
#define TRIMS_GPIO_REG_T2R
|
||||
#define TRIMS_GPIO_PIN_T2R
|
||||
|
||||
// Switches
|
||||
#define SWITCHES_GPIO_REG_A
|
||||
|
||||
Reference in New Issue
Block a user