mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 15:23:57 -04:00
AP_Networking: fix build for periph
This commit is contained in:
parent
5c09a16a80
commit
1e83e61b25
@ -91,7 +91,7 @@ bool AP_Networking_ChibiOS::init()
|
||||
{
|
||||
#ifdef HAL_GPIO_ETH_ENABLE
|
||||
hal.gpio->pinMode(HAL_GPIO_ETH_ENABLE, HAL_GPIO_OUTPUT);
|
||||
hal.gpio->write(HAL_GPIO_ETH_ENABLE, _param.enabled ? 1 : 0);
|
||||
hal.gpio->write(HAL_GPIO_ETH_ENABLE, frontend.param.enabled ? 1 : 0);
|
||||
#endif
|
||||
|
||||
if (!allocate_buffers()) {
|
||||
|
Loading…
Reference in New Issue
Block a user