mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
SITL: remove use of fprintf in SIM_SPI
This commit is contained in:
parent
8c60bfc1c3
commit
7da5d9861a
@ -75,7 +75,7 @@ int SPI::ioctl_transaction(uint8_t bus, uint8_t cs_pin, uint8_t count, spi_ioc_t
|
||||
}
|
||||
return dev_at_cs_pin.device.rdwr(count, data);
|
||||
}
|
||||
::fprintf(stderr, "Unhandled spi message: bus=%u cs_pin=%u\n", bus, cs_pin);
|
||||
GCS_SEND_TEXT(MAV_SEVERITY_WARNING, "Unhandled spi message: bus=%u cs_pin=%u\n", bus, cs_pin);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user