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
|
#if AP_FEATURE_BOARD_DETECT
|
||||||
return instance?instance->state.pwm_count.get():4;
|
return instance?instance->state.pwm_count.get():4;
|
||||||
#else
|
#else
|
||||||
return false;
|
return 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user