mirror of
https://github.com/opentx/opentx.git
synced 2025-07-24 00:35:18 +03:00
Cosmetics
This commit is contained in:
parent
bdee179c17
commit
99b754e58a
1 changed files with 7 additions and 7 deletions
|
@ -189,18 +189,18 @@ void storageReadAll()
|
|||
{
|
||||
TRACE("storageReadAll");
|
||||
|
||||
if (loadRadioSettingsSettings() != NULL) {
|
||||
if (loadRadioSettingsSettings() != nullptr) {
|
||||
storageEraseAll(true);
|
||||
}
|
||||
|
||||
for (uint8_t i=0; languagePacks[i]!=NULL; i++) {
|
||||
for (uint8_t i = 0; languagePacks[i] != nullptr; i++) {
|
||||
if (!strncmp(g_eeGeneral.ttsLanguage, languagePacks[i]->id, 2)) {
|
||||
currentLanguagePackIdx = i;
|
||||
currentLanguagePack = languagePacks[i];
|
||||
}
|
||||
}
|
||||
|
||||
if (loadModel(g_eeGeneral.currModelFilename, false) != NULL) {
|
||||
if (loadModel(g_eeGeneral.currModelFilename, false) != nullptr) {
|
||||
sdCheckAndCreateDirectory(MODELS_PATH);
|
||||
createModel();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue