AP_BoardConfig: fixed return of get_pwm_count()

thanks to Michael for noticing
This commit is contained in:
Andrew Tridgell committed 2018-01-15 11:46:02 +11:00
1 parent ef1a14cc6c
commit ff87d27143
1 file changed
+1 -1
+1 -1
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
}