We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6118510 commit 76d6cdcCopy full SHA for 76d6cdc
src/board_controller/openbci/galea_v4.cpp
@@ -497,11 +497,11 @@ void GaleaV4::read_thread ()
497
aux_package[board_descr["auxiliary"]["battery_channel"].get<int> ()] =
498
(double)b[77 + offset];
499
aux_package[board_descr["auxiliary"]["timestamp_channel"].get<int> ()] =
500
- timestamp_device + time_delta - half_rtt;
+ timestamp_device_converted + time_delta - half_rtt;
501
aux_package[board_descr["auxiliary"]["other_channels"][0].get<int> ()] =
502
pc_timestamp;
503
aux_package[board_descr["auxiliary"]["other_channels"][1].get<int> ()] =
504
- timestamp_device;
+ timestamp_device_converted;
505
// accel
506
aux_package[board_descr["auxiliary"]["accel_channels"][0].get<int> ()] =
507
accel_scale * (double)cast_16bit_to_int32_swap_order (b + 96 + offset);
0 commit comments