|
|
|
@ -290,6 +290,7 @@ bool AP_Radio_cypress::reset(void)
@@ -290,6 +290,7 @@ bool AP_Radio_cypress::reset(void)
|
|
|
|
|
to reset radio hold reset high for 0.5s, then low for 0.5s |
|
|
|
|
*/ |
|
|
|
|
#if defined(HAL_GPIO_RADIO_RESET) |
|
|
|
|
hal.scheduler->expect_delay_ms(2000); // avoid main-loop-delay internal error
|
|
|
|
|
hal.gpio->write(HAL_GPIO_RADIO_RESET, 1); |
|
|
|
|
hal.scheduler->delay(500); |
|
|
|
|
hal.gpio->write(HAL_GPIO_RADIO_RESET, 0); |
|
|
|
|