Code style cleanups.

This commit is contained in:
Dominic Clifton 2014-04-08 00:00:21 +01:00
parent 993edc4e20
commit 1838703853
1 changed files with 6 additions and 3 deletions

View File

@ -16,7 +16,8 @@ bool isTelemetryProviderHoTT(void)
return mcfg.telemetry_provider == TELEMETRY_PROVIDER_HOTT;
}
bool canUseTelemetryWithCurrentConfiguration(void) {
bool canUseTelemetryWithCurrentConfiguration(void)
{
if (!feature(FEATURE_TELEMETRY)) {
return false;
@ -78,7 +79,8 @@ bool shouldChangeTelemetryStateNow(bool newState)
return newState != telemetryEnabled;
}
static void configureTelemetryPort(void) {
static void configureTelemetryPort(void)
{
if (isTelemetryProviderFrSky()) {
configureFrSkyTelemetryPort();
}
@ -88,7 +90,8 @@ static void configureTelemetryPort(void) {
}
}
void freeTelemetryPort(void) {
void freeTelemetryPort(void)
{
if (isTelemetryProviderFrSky()) {
freeFrSkyTelemetryPort();
}