Skip to content

Commit 76d6cdc

Browse files
authored
Fix galea beta aux timestamps (#742)
1 parent 6118510 commit 76d6cdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/board_controller/openbci/galea_v4.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -497,11 +497,11 @@ void GaleaV4::read_thread ()
497497
aux_package[board_descr["auxiliary"]["battery_channel"].get<int> ()] =
498498
(double)b[77 + offset];
499499
aux_package[board_descr["auxiliary"]["timestamp_channel"].get<int> ()] =
500-
timestamp_device + time_delta - half_rtt;
500+
timestamp_device_converted + time_delta - half_rtt;
501501
aux_package[board_descr["auxiliary"]["other_channels"][0].get<int> ()] =
502502
pc_timestamp;
503503
aux_package[board_descr["auxiliary"]["other_channels"][1].get<int> ()] =
504-
timestamp_device;
504+
timestamp_device_converted;
505505
// accel
506506
aux_package[board_descr["auxiliary"]["accel_channels"][0].get<int> ()] =
507507
accel_scale * (double)cast_16bit_to_int32_swap_order (b + 96 + offset);

0 commit comments

Comments
 (0)