From 626c90c626c25a4e3380f6fcc9c92d9d4098773b Mon Sep 17 00:00:00 2001 From: Giso Grimm Date: Tue, 22 Oct 2024 08:05:47 +0200 Subject: [PATCH] correct order of setting EOG sample rate --- plugins/src/tascarmod_osceog.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/src/tascarmod_osceog.cc b/plugins/src/tascarmod_osceog.cc index 99467570..c6ca2e45 100644 --- a/plugins/src/tascarmod_osceog.cc +++ b/plugins/src/tascarmod_osceog.cc @@ -72,6 +72,7 @@ class osceog_t : public TASCAR::module_base_t { void osceog_t::connect() { + lo_send(headtrackertarget, "/eog/srate", "i", srate); if(connectwlan) { lo_send(headtrackertarget, "/wlan/connect", "sssi", wlanssid.c_str(), wlanpass.c_str(), targetip.c_str(), session->get_srv_port()); @@ -79,7 +80,6 @@ void osceog_t::connect() lo_send(headtrackertarget, "/eog/connect", "is", session->get_srv_port(), eogpath.c_str()); } - lo_send(headtrackertarget, "/eog/srate", "i", srate); } void osceog_t::disconnect()