refactor: bootloader & cmake cleanup (#5232)
This commit is contained in:
@@ -30,6 +30,8 @@
|
||||
// Defines used in board_common.h
|
||||
#define ROTARY_ENCODER_NAVIGATION
|
||||
|
||||
#define BOOTLOADER_KEYS 0x42
|
||||
|
||||
#include "board_common.h"
|
||||
#include "hal.h"
|
||||
|
||||
@@ -61,12 +63,6 @@ extern uint16_t sessionTimer;
|
||||
|
||||
#define SLAVE_MODE() (g_model.trainerData.mode == TRAINER_MODE_SLAVE)
|
||||
|
||||
#if defined(RADIO_F16)
|
||||
// initilizes the board for the bootloader
|
||||
#define HAVE_BOARD_BOOTLOADER_INIT 1
|
||||
void boardBootloaderInit();
|
||||
#endif
|
||||
|
||||
// Board driver
|
||||
void boardInit();
|
||||
void boardOff();
|
||||
|
||||
Reference in New Issue
Block a user