Skip to content

Commit

Permalink
AP_Periph: print version name
Browse files Browse the repository at this point in the history
  • Loading branch information
Pradeep-Carbonix committed Aug 30, 2024
1 parent a26eae3 commit d475bb7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Tools/AP_Periph/AP_Periph.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include <AP_HAL/AP_HAL_Boards.h>
#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 @@ -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();
}

Expand Down

0 comments on commit d475bb7

Please sign in to comment.