From 76d6cdcfdd5078459f6a197b0f2a9818827c261e Mon Sep 17 00:00:00 2001 From: Musa Mahmood Date: Thu, 29 Aug 2024 06:42:50 -0400 Subject: [PATCH] Fix galea beta aux timestamps (#742) --- src/board_controller/openbci/galea_v4.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/board_controller/openbci/galea_v4.cpp b/src/board_controller/openbci/galea_v4.cpp index e1ed5ef26..7289c154f 100644 --- a/src/board_controller/openbci/galea_v4.cpp +++ b/src/board_controller/openbci/galea_v4.cpp @@ -497,11 +497,11 @@ void GaleaV4::read_thread () aux_package[board_descr["auxiliary"]["battery_channel"].get ()] = (double)b[77 + offset]; aux_package[board_descr["auxiliary"]["timestamp_channel"].get ()] = - timestamp_device + time_delta - half_rtt; + timestamp_device_converted + time_delta - half_rtt; aux_package[board_descr["auxiliary"]["other_channels"][0].get ()] = pc_timestamp; aux_package[board_descr["auxiliary"]["other_channels"][1].get ()] = - timestamp_device; + timestamp_device_converted; // accel aux_package[board_descr["auxiliary"]["accel_channels"][0].get ()] = accel_scale * (double)cast_16bit_to_int32_swap_order (b + 96 + offset);