AP_OpticalFlow: cleanup printf warnings

This commit is contained in:
Andrew Tridgell 2024-07-06 08:59:12 +10:00 committed by Peter Barker
parent c40099a162
commit ebc7cc2daf

View File

@ -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;
}