AP_RAMTRON: Console output can be disabled

This commit is contained in:
murata 2022-03-21 18:37:31 +09:00 committed by Andrew Tridgell
parent cc75b931f9
commit 272230793d

View File

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