Skip to content

Commit

Permalink
Update bbn_m5tough_active_boat.ino
Browse files Browse the repository at this point in the history
  • Loading branch information
mgrouch authored May 10, 2023
1 parent 1c0e480 commit b3b3889
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions bbn_m5tough_active_boat/bbn_m5tough_active_boat.ino
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#define LV_HOR_RES_MAX 320
#define LV_VER_RES_MAX 240

#undef ENABLE_MPD
//
//
// Changes to lv_conf.h (LVGL 8.x) needed:
Expand Down Expand Up @@ -63,7 +64,11 @@ typedef struct _NetClient {
#include "ui_screens.h"
#include "ui_settings.h"
#include "ui_clock.h"
// TODO: #include "ui_player_control.h"

#ifdef ENABLE_MPD // TODO:
#include "ui_player_control.h"
#endif

#include "ui_about.h"

#include "ui_keyboard.h"
Expand Down Expand Up @@ -126,7 +131,9 @@ lv_updatable_screen_t* screens[] = {
&rudderScreen,
&engineScreen,
&autopilotScreen,
// TODO: &playerScreen,
#ifdef ENABLE_MPD // TODO:
&playerScreen,
#endif
&victronScreen,
&tanksScreen,
&vesselScreen,
Expand Down Expand Up @@ -193,7 +200,9 @@ void setup() {
init_speedScreen();
init_depthScreen();
init_clockScreen();
// TODO: init_playerScreen();
#ifdef ENABLE_MPD // TODO:
init_playerScreen();
#endif
init_victronScreen();
init_tanksScreen();
init_autopilotScreen();
Expand Down

0 comments on commit b3b3889

Please sign in to comment.