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 Randy Mackay
parent 0c7aadc8f8
commit b11a280b6d
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) {