AP_HAL_Linux: increase short board names to 23 chars

This commit is contained in:
Yuri 2022-09-18 12:04:23 -05:00 committed by Randy Mackay
parent 9312c571c6
commit b0bc7591dd
2 changed files with 2 additions and 2 deletions

View File

@ -150,7 +150,7 @@ bool Util::get_system_id_unformatted(uint8_t buf[], uint8_t &len)
as get_system_id_unformatted will already be ascii, we use the same
ID here
*/
bool Util::get_system_id(char buf[40])
bool Util::get_system_id(char buf[50])
{
uint8_t len = 40;
return get_system_id_unformatted((uint8_t *)buf, len);

View File

@ -69,7 +69,7 @@ public:
uint32_t available_memory(void) override;
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 ENABLE_HEAP