mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-22 07:44:03 -04:00
AP_BoardConfig: fixed typo in volt pin handling
This commit is contained in:
parent
4bdc18569e
commit
49efe539fc
@ -346,7 +346,7 @@ void AP_BoardConfig::board_setup()
|
||||
hal.rcout->init();
|
||||
#endif
|
||||
|
||||
#if HAL_GPIO_PWM_VOLT_PIN
|
||||
#ifdef HAL_GPIO_PWM_VOLT_PIN
|
||||
if (_pwm_volt_sel == 0) {
|
||||
hal.gpio->write(HAL_GPIO_PWM_VOLT_PIN, 1); //set pin for 3.3V PWM Output
|
||||
} else if (_pwm_volt_sel == 1) {
|
||||
|
Loading…
Reference in New Issue
Block a user