mirror of
https://github.com/EyeTrackVR/OpenIris.git
synced 2025-11-04 15:39:42 +08:00
feat: Test fix for serial manager
also fixes after merge
This commit is contained in:
parent
97d9c3f5e5
commit
62314f4de9
@ -3,8 +3,8 @@
|
|||||||
## !!Important note: Apostrophes inside of quotes ex: "a't" are NOT ALLOWED. This will fail to build!!
|
## !!Important note: Apostrophes inside of quotes ex: "a't" are NOT ALLOWED. This will fail to build!!
|
||||||
|
|
||||||
[wifi]
|
[wifi]
|
||||||
ssid = ""
|
ssid = "UPC7878684"
|
||||||
password = ""
|
password = "j3ttQPpfvhep"
|
||||||
mdnsname = "openiristracker"
|
mdnsname = "openiristracker"
|
||||||
channel = 1
|
channel = 1
|
||||||
ap_ssid = "EyeTrackVR"
|
ap_ssid = "EyeTrackVR"
|
||||||
|
|||||||
@ -16,7 +16,6 @@ class SerialManager {
|
|||||||
private:
|
private:
|
||||||
esp_err_t err = ESP_OK;
|
esp_err_t err = ESP_OK;
|
||||||
CommandManager* commandManager;
|
CommandManager* commandManager;
|
||||||
ProjectConfig& configManager;
|
|
||||||
|
|
||||||
#ifdef ETVR_EYE_TRACKER_USB_API
|
#ifdef ETVR_EYE_TRACKER_USB_API
|
||||||
int64_t last_frame = 0;
|
int64_t last_frame = 0;
|
||||||
@ -26,7 +25,7 @@ class SerialManager {
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
public:
|
public:
|
||||||
SerialManager(CommandManager* commandManager, ProjectConfig& configManager);
|
SerialManager(CommandManager* commandManager);
|
||||||
void init();
|
void init();
|
||||||
void run();
|
void run();
|
||||||
};
|
};
|
||||||
|
|||||||
@ -7,7 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
ProjectConfig deviceConfig("openiris", MDNS_HOSTNAME);
|
ProjectConfig deviceConfig("openiris", MDNS_HOSTNAME);
|
||||||
CommandManager commandManager(&deviceConfig);
|
CommandManager commandManager(&deviceConfig);
|
||||||
SerialManager serialManager(&commandManager, deviceConfig);
|
SerialManager serialManager(&commandManager);
|
||||||
|
|
||||||
#ifdef CONFIG_CAMERA_MODULE_ESP32S3_XIAO_SENSE
|
#ifdef CONFIG_CAMERA_MODULE_ESP32S3_XIAO_SENSE
|
||||||
LEDManager ledManager(LED_BUILTIN);
|
LEDManager ledManager(LED_BUILTIN);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user