AP_BoardConfig: fixed return of get_pwm_count()

thanks to Michael for noticing
This commit is contained in:
Andrew Tridgell 2018-01-13 21:03:02 +11:00
parent ef1a14cc6c
commit ff87d27143

View File

@ -109,7 +109,7 @@ public:
#if AP_FEATURE_BOARD_DETECT
return instance?instance->state.pwm_count.get():4;
#else
return false;
return 0;
#endif
}