mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-24 07:09:48 +08:00
added missing parenthesis to fix logging
This commit is contained in:
@@ -1386,7 +1386,7 @@ int sdlog2_thread_main(int argc, char *argv[])
|
||||
orb_copy(ORB_ID(sensor_combined), subs.sensor_sub, &buf.sensor);
|
||||
}
|
||||
|
||||
if (poll_counter + 1 % poll_to_logging_factor == 0) {
|
||||
if ((poll_counter + 1) % poll_to_logging_factor == 0) {
|
||||
poll_counter = 0;
|
||||
} else {
|
||||
// copy topic
|
||||
|
||||
Reference in New Issue
Block a user