From af838b4e0875f28bca3df8bbdab53cccc167b5f7 Mon Sep 17 00:00:00 2001 From: Lokesh-Ramina Date: Mon, 27 Nov 2023 17:57:13 -0800 Subject: [PATCH] AP_Periph: print version name --- Tools/AP_Periph/AP_Periph.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Tools/AP_Periph/AP_Periph.cpp b/Tools/AP_Periph/AP_Periph.cpp index 3f61511a59..c645507d82 100644 --- a/Tools/AP_Periph/AP_Periph.cpp +++ b/Tools/AP_Periph/AP_Periph.cpp @@ -25,6 +25,7 @@ #include "AP_Periph.h" #include #include +#include #if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS #include @@ -245,6 +246,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::native_millis(); }