mirror of
https://github.com/iNavFlight/inav.git
synced 2025-07-25 09:16:01 +03:00
Fix function prototypes and macos warnings
This commit is contained in:
parent
5e2dc06487
commit
a53296abb7
3 changed files with 3 additions and 3 deletions
|
@ -728,7 +728,7 @@ bool areMotorsRunning(void)
|
|||
return false;
|
||||
}
|
||||
|
||||
uint16_t getMaxThrottle() {
|
||||
uint16_t getMaxThrottle(void) {
|
||||
|
||||
static uint16_t throttle = 0;
|
||||
|
||||
|
|
|
@ -79,7 +79,7 @@ void pgResetFn_mixerProfiles(mixerProfile_t *instance)
|
|||
}
|
||||
}
|
||||
|
||||
void activateMixerConfig(){
|
||||
void activateMixerConfig(void){
|
||||
currentMixerProfileIndex = getConfigMixerProfile();
|
||||
currentMixerConfig = *mixerConfig();
|
||||
nextMixerProfileIndex = (currentMixerProfileIndex + 1) % MAX_MIXER_PROFILE_COUNT;
|
||||
|
|
|
@ -525,7 +525,7 @@ void mspOsdSerialProcess(mspProcessCommandFnPtr mspProcessCommandFn)
|
|||
}
|
||||
}
|
||||
|
||||
mspPort_t *getMspOsdPort()
|
||||
mspPort_t *getMspOsdPort(void)
|
||||
{
|
||||
if (mspPort.port) {
|
||||
return &mspPort;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue