Skip to content

Commit

Permalink
Merge remote-tracking branch 'ewowi/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
ewoudwijma committed Jun 20, 2024
2 parents 2f80594 + be40bb1 commit 5203018
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,10 @@ UserModMDNS *mdns;
#include "User/UserModHA.h"
UserModHA *hamod;
#endif
#ifdef STARBASE_USERMOD_MPU6050
#include "User/UserModMPU6050.h"
UserModMPU6050 *mpu6050;
#endif
#ifdef STARLEDS_USERMOD_WLEDAUDIO
#include "User/UserModWLEDAudio.h"
UserModWLEDAudio *wledAudioMod;
Expand Down Expand Up @@ -92,6 +96,9 @@ void setup() {
#ifdef STARBASE_USERMOD_HA
hamod = new UserModHA();
#endif
#ifdef STARBASE_USERMOD_MPU6050
mpu6050 = new UserModMPU6050();
#endif
#ifdef STARLEDS_USERMOD_WLEDAUDIO
wledAudioMod = new UserModWLEDAudio();
#endif
Expand Down Expand Up @@ -124,6 +131,9 @@ void setup() {
#ifdef STARBASE_USERMOD_HA
mdls->add(hamod); //no ui
#endif
#ifdef STARBASE_USERMOD_MPU6050
mdls->add(mpu6050);
#endif
mdls->add(mdl);
mdls->add(ui);
#ifdef STARLEDS_USERMOD_WLEDAUDIO
Expand Down

0 comments on commit 5203018

Please sign in to comment.