From d475bb77c66f339677c29d40392895ff1ea56a38 Mon Sep 17 00:00:00 2001 From: Pradeep CK Date: Fri, 30 Aug 2024 11:43:39 +1000 Subject: [PATCH] AP_Periph: print version name --- Tools/AP_Periph/AP_Periph.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Tools/AP_Periph/AP_Periph.cpp b/Tools/AP_Periph/AP_Periph.cpp index 8a08df7aed..4f416340dd 100644 --- a/Tools/AP_Periph/AP_Periph.cpp +++ b/Tools/AP_Periph/AP_Periph.cpp @@ -24,6 +24,8 @@ #include #include "AP_Periph.h" #include +#include +#include #if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS #include @@ -292,6 +294,10 @@ void AP_Periph_FW::init() #if AP_SCRIPTING_ENABLED scripting.init(); #endif + +#ifdef AP_CUSTOM_FIRMWARE_STRING + GCS_SEND_TEXT(MAV_SEVERITY_INFO, AP_CUSTOM_FIRMWARE_STRING); +#endif start_ms = AP_HAL::millis(); }