AP_HAL_ESP32: increase short board names to 23 chars

This commit is contained in:
Yuri 2022-09-18 12:04:23 -05:00 committed by Andrew Tridgell
parent 70d69eb70b
commit 342434cf7d
2 changed files with 2 additions and 2 deletions

View File

@ -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 ";

View File

@ -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