Skip to content

Commit

Permalink
AP_OpticalFlow: cleanup printf warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge authored and peterbarker committed Jul 10, 2024
1 parent c40099a commit ebc7cc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_OpticalFlow/AP_OpticalFlow_PX4Flow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ bool AP_OpticalFlow_PX4Flow::scan_buses(void)
struct i2c_integral_frame frame;
success = tdev->read_registers(REG_INTEGRAL_FRAME, (uint8_t *)&frame, sizeof(frame));
if (success) {
printf("Found PX4Flow on bus %u\n", bus);
printf("Found PX4Flow on bus %u\n", unsigned(bus));
dev = std::move(tdev);
break;
}
Expand Down

0 comments on commit ebc7cc2

Please sign in to comment.