From 9312c571c6fe3b7c0c66b4e314e0d09171264108 Mon Sep 17 00:00:00 2001 From: Yuri Date: Sun, 18 Sep 2022 12:04:23 -0500 Subject: [PATCH] AP_HAL_ESP32: increase short board names to 23 chars --- libraries/AP_HAL_ESP32/Util.cpp | 2 +- libraries/AP_HAL_ESP32/Util.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/AP_HAL_ESP32/Util.cpp b/libraries/AP_HAL_ESP32/Util.cpp index 013d241617..26bcdffa11 100644 --- a/libraries/AP_HAL_ESP32/Util.cpp +++ b/libraries/AP_HAL_ESP32/Util.cpp @@ -214,7 +214,7 @@ Util::FlashBootloader Util::flash_bootloader() */ -bool Util::get_system_id(char buf[40]) +bool Util::get_system_id(char buf[50]) { //uint8_t serialid[12]; char board_name[14] = "esp32-buzz "; diff --git a/libraries/AP_HAL_ESP32/Util.h b/libraries/AP_HAL_ESP32/Util.h index 93ae6fe69d..c4039cdcef 100644 --- a/libraries/AP_HAL_ESP32/Util.h +++ b/libraries/AP_HAL_ESP32/Util.h @@ -51,7 +51,7 @@ public: enum safety_state safety_switch_state(void) override; // get system ID as a string - bool get_system_id(char buf[40]) override; + bool get_system_id(char buf[50]) override; bool get_system_id_unformatted(uint8_t buf[], uint8_t &len) override; #ifdef HAL_PWM_ALARM