1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 01:35:35 +03:00

Enable -Wstrict-prototypes

Also, fix all warnings shown when it's enabled
This commit is contained in:
Alberto García Hierro 2019-04-26 15:57:49 +01:00
parent 90a592e974
commit ae01b3453a
12 changed files with 19 additions and 14 deletions

View file

@ -30,7 +30,7 @@ pwmDriverDriver_t pwmDrivers[PWM_DRIVER_IMPLEMENTATION_COUNT] = {
}
};
bool isPwmDriverEnabled() {
bool isPwmDriverEnabled(void) {
return driverEnabled;
}