Skip to content

Commit

Permalink
AP_Periph: print version name
Browse files Browse the repository at this point in the history
  • Loading branch information
loki077 authored and Pradeep-Carbonix committed Nov 28, 2023
1 parent 468b1e6 commit af838b4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Tools/AP_Periph/AP_Periph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#include "AP_Periph.h"
#include <stdio.h>
#include <dronecan_msgs.h>
#include <GCS_MAVLink/GCS.h>

#if CONFIG_HAL_BOARD == HAL_BOARD_CHIBIOS
#include <AP_HAL_ChibiOS/hwdef/common/stm32_util.h>
Expand Down Expand Up @@ -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();
}

Expand Down

0 comments on commit af838b4

Please sign in to comment.