AP_HAL_SITL: 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 80079b2ce7
commit 20f0fd0589
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -42,7 +42,7 @@ public:
void set_hw_rtc(uint64_t time_utc_usec) override { /* fail silently */ } void set_hw_rtc(uint64_t time_utc_usec) override { /* fail silently */ }
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; bool get_system_id_unformatted(uint8_t buf[], uint8_t &len) override;
void dump_stack_trace(); void dump_stack_trace();