AP_Radio: 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 1ed252f230
commit 566d39d805
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ void AP_Radio_cc2500::radio_init(void)
hal.gpio->attach_interrupt(HAL_GPIO_RADIO_IRQ, trigger_irq_radio_event, AP_HAL::GPIO::INTERRUPT_RISING);
// fill in rxid for use in double bind prevention
char sysid[40] {};
char sysid[50] {};
hal.util->get_system_id(sysid);
uint16_t sysid_crc = calc_crc((const uint8_t *)sysid, strnlen(sysid, sizeof(sysid)));
if (sysid_crc == 0) {