Skip to content

Commit

Permalink
fix: bug causing camera to not work
Browse files Browse the repository at this point in the history
  • Loading branch information
ZanzyTHEbar committed Apr 22, 2023
1 parent 83db1f4 commit 86f6526
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ESP/src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,13 @@ void setup() {
Serial.flush();
ledManager.begin();

deviceConfig.initConfig();
deviceConfig.load();

#ifndef SIM_ENABLED
deviceConfig.attach(cameraHandler);
#endif // SIM_ENABLED

deviceConfig.initConfig();
deviceConfig.load();

#ifndef ETVR_EYE_TRACKER_USB_API
etvr_eye_tracker_web_init();
#else // ETVR_EYE_TRACKER_WEB_API
Expand Down

0 comments on commit 86f6526

Please sign in to comment.