mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-09-26 23:29:14 +08:00
refactor: cleanup USB activation code
This commit is contained in:
parent
cd55c8c2ea
commit
3339f81cb3
@ -99,11 +99,8 @@ void setup() {
|
||||
etvr_eye_tracker_web_init();
|
||||
#else // ETVR_EYE_TRACKER_WEB_API
|
||||
WiFi.disconnect(true);
|
||||
#endif // ETVR_EYE_TRACKER_WEB_API
|
||||
|
||||
#ifdef ETVR_EYE_TRACKER_USB_API
|
||||
etvr_eye_tracker_usb_init();
|
||||
#endif // ETVR_EYE_TRACKER_USB_API
|
||||
#endif // ETVR_EYE_TRACKER_WEB_API
|
||||
}
|
||||
|
||||
void loop() {
|
||||
|
Loading…
Reference in New Issue
Block a user