mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-09-26 23:29:14 +08:00
fix: bug causing camera to not work
This commit is contained in:
parent
83db1f4858
commit
86f65260e8
@ -87,12 +87,13 @@ void setup() {
|
|||||||
Serial.flush();
|
Serial.flush();
|
||||||
ledManager.begin();
|
ledManager.begin();
|
||||||
|
|
||||||
deviceConfig.initConfig();
|
|
||||||
deviceConfig.load();
|
|
||||||
|
|
||||||
#ifndef SIM_ENABLED
|
#ifndef SIM_ENABLED
|
||||||
deviceConfig.attach(cameraHandler);
|
deviceConfig.attach(cameraHandler);
|
||||||
#endif // SIM_ENABLED
|
#endif // SIM_ENABLED
|
||||||
|
|
||||||
|
deviceConfig.initConfig();
|
||||||
|
deviceConfig.load();
|
||||||
|
|
||||||
#ifndef ETVR_EYE_TRACKER_USB_API
|
#ifndef ETVR_EYE_TRACKER_USB_API
|
||||||
etvr_eye_tracker_web_init();
|
etvr_eye_tracker_web_init();
|
||||||
#else // ETVR_EYE_TRACKER_WEB_API
|
#else // ETVR_EYE_TRACKER_WEB_API
|
||||||
|
Loading…
Reference in New Issue
Block a user