mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
AP_RAMTRON: Console output can be disabled
This commit is contained in:
parent
cc75b931f9
commit
272230793d
@ -46,7 +46,7 @@ bool AP_RAMTRON::init(void)
|
||||
{
|
||||
dev = hal.spi->get_device("ramtron");
|
||||
if (!dev) {
|
||||
hal.console->printf("No RAMTRON device\n");
|
||||
DEV_PRINTF("No RAMTRON device\n");
|
||||
return false;
|
||||
}
|
||||
WITH_SEMAPHORE(dev->get_semaphore());
|
||||
@ -88,7 +88,7 @@ bool AP_RAMTRON::init(void)
|
||||
}
|
||||
|
||||
if (id == UINT8_MAX) {
|
||||
hal.console->printf("Unknown RAMTRON device\n");
|
||||
DEV_PRINTF("Unknown RAMTRON device\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user