AP_OSD: Console output can be disabled

This commit is contained in:
murata 2022-03-21 18:36:41 +09:00 committed by Andrew Tridgell
parent c143fb0a5a
commit cd9b4b48ae
1 changed files with 4 additions and 4 deletions

View File

@ -271,7 +271,7 @@ void AP_OSD::init()
if (backend == nullptr) { if (backend == nullptr) {
break; break;
} }
hal.console->printf("Started MAX7456 OSD\n"); DEV_PRINTF("Started MAX7456 OSD\n");
#endif #endif
break; break;
} }
@ -282,7 +282,7 @@ void AP_OSD::init()
if (backend == nullptr) { if (backend == nullptr) {
break; break;
} }
hal.console->printf("Started SITL OSD\n"); DEV_PRINTF("Started SITL OSD\n");
break; break;
} }
#endif #endif
@ -291,7 +291,7 @@ void AP_OSD::init()
if (backend == nullptr) { if (backend == nullptr) {
break; break;
} }
hal.console->printf("Started MSP OSD\n"); DEV_PRINTF("Started MSP OSD\n");
break; break;
} }
#if HAL_WITH_MSP_DISPLAYPORT #if HAL_WITH_MSP_DISPLAYPORT
@ -300,7 +300,7 @@ void AP_OSD::init()
if (backend == nullptr) { if (backend == nullptr) {
break; break;
} }
hal.console->printf("Started MSP DisplayPort OSD\n"); DEV_PRINTF("Started MSP DisplayPort OSD\n");
break; break;
} }
#endif #endif