mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
AP_BoardConfig: fixed return of get_pwm_count()
thanks to Michael for noticing
This commit is contained in:
parent
ef1a14cc6c
commit
ff87d27143
@ -109,7 +109,7 @@ public:
|
||||
#if AP_FEATURE_BOARD_DETECT
|
||||
return instance?instance->state.pwm_count.get():4;
|
||||
#else
|
||||
return false;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user