Fix some b&w target compilation
This commit is contained in:
@@ -34,12 +34,8 @@ void readModelNotes()
|
||||
LED_ERROR_BEGIN();
|
||||
|
||||
strcpy(reusableBuffer.viewText.filename, MODELS_PATH "/");
|
||||
#if defined(EEPROM)
|
||||
char *buf = strcat_modelname(&reusableBuffer.viewText.filename[sizeof(MODELS_PATH)], g_eeGeneral.currModel);
|
||||
char *buf = strcat_currentmodelname(&reusableBuffer.viewText.filename[sizeof(MODELS_PATH)], 0);
|
||||
strcpy(buf, TEXT_EXT);
|
||||
#else
|
||||
strcat_currentmodelname(&reusableBuffer.viewText.filename[sizeof(MODELS_PATH)]);
|
||||
#endif
|
||||
|
||||
waitKeysReleased();
|
||||
event_t event = EVT_ENTRY;
|
||||
|
||||
Reference in New Issue
Block a user