style change

This commit is contained in:
erorcun 2020-12-19 20:39:42 +03:00 committed by GitHub
parent b834d92585
commit 4c46d24983
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -90,12 +90,9 @@ cMusicManager::DisplayRadioStationName()
if(gStreamedSound == STREAMED_SOUND_CITY_AMBIENT || if(gStreamedSound == STREAMED_SOUND_CITY_AMBIENT ||
gStreamedSound == STREAMED_SOUND_WATER_AMBIENT) { gStreamedSound == STREAMED_SOUND_WATER_AMBIENT) {
gStreamedSound = POLICE_RADIO; // which means OFF gStreamedSound = POLICE_RADIO; // which means OFF
} else {
if(gStreamedSound > } else if(gStreamedSound > STREAMED_SOUND_RADIO_MP3_PLAYER)
STREAMED_SOUND_RADIO_MP3_PLAYER)
return; return;
}
gRetuneCounter = gNumRetunePresses; gRetuneCounter = gNumRetunePresses;
pRetune = gStreamedSound; pRetune = gStreamedSound;
@ -118,12 +115,8 @@ cMusicManager::DisplayRadioStationName()
if(gStreamedSound == STREAMED_SOUND_CITY_AMBIENT || if(gStreamedSound == STREAMED_SOUND_CITY_AMBIENT ||
gStreamedSound == STREAMED_SOUND_WATER_AMBIENT) { gStreamedSound == STREAMED_SOUND_WATER_AMBIENT) {
gStreamedSound = POLICE_RADIO; // which means OFF gStreamedSound = POLICE_RADIO; // which means OFF
} else { } else if(gStreamedSound > STREAMED_SOUND_RADIO_MP3_PLAYER)
if(gStreamedSound >
STREAMED_SOUND_RADIO_MP3_PLAYER)
return; return;
}
pRetune = gNumRetunePresses + gStreamedSound; pRetune = gNumRetunePresses + gStreamedSound;