refactor display(er) to welcome led extension

This commit is contained in:
Philippe G
2021-04-28 18:03:27 -07:00
parent 64bb5f018b
commit d4cd400cd9
3 changed files with 240 additions and 155 deletions

View File

@@ -45,14 +45,14 @@ uint32_t _gettime_ms_(void) {
}
extern void sb_controls_init(void);
extern bool sb_display_init(void);
extern bool sb_displayer_init(void);
u8_t custom_player_id = 12;
void embedded_init(void) {
mutex_create(slimp_mutex);
sb_controls_init();
custom_player_id = sb_display_init() ? 100 : 101;
custom_player_id = sb_displayer_init() ? 100 : 101;
}
u16_t get_RSSI(void) {