handle case w/o display - release

This commit is contained in:
philippe44
2020-01-30 22:48:36 -08:00
parent 9d2aa978d5
commit 5d07344b4d
9 changed files with 55 additions and 22 deletions

View File

@@ -50,9 +50,11 @@ uint32_t _gettime_ms_(void) {
}
extern void sb_controls_init(void);
extern void sb_display_init(void);
extern bool sb_display_init(void);
u8_t custom_player_id = 12;
void embedded_init(void) {
sb_controls_init();
sb_display_init();
if (sb_display_init()) custom_player_id = 100;
}