Skip to content

Commit

Permalink
correct order of setting EOG sample rate
Browse files Browse the repository at this point in the history
  • Loading branch information
gisogrimm committed Oct 22, 2024
1 parent 8101764 commit 626c90c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/src/tascarmod_osceog.cc
Original file line number Diff line number Diff line change
Expand Up @@ -72,14 +72,14 @@ 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());
} else {
lo_send(headtrackertarget, "/eog/connect", "is", session->get_srv_port(),
eogpath.c_str());
}
lo_send(headtrackertarget, "/eog/srate", "i", srate);
}

void osceog_t::disconnect()
Expand Down

0 comments on commit 626c90c

Please sign in to comment.