mirror of https://github.com/ArduPilot/ardupilot
AP_Radio: increase short board names to 23 chars
This commit is contained in:
parent
1ed252f230
commit
566d39d805
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue