mirror of
https://github.com/ArduPilot/ardupilot.git
synced 2026-10-26 22:56:41 +08:00
AP_BoardConfig: fixed return of get_pwm_count()
thanks to Michael for noticing
This commit is contained in:
1 parent
ef1a14cc6c
commit
ff87d27143
1 file changed
+1
-1
@@ -109,7 +109,7 @@ public:
|
||||
#if AP_FEATURE_BOARD_DETECT
|
||||
return instance?instance->state.pwm_count.get():4;
|
||||
#else
|
||||
return false;
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user