This commit is contained in:
Raphael Coeffic
2021-11-10 11:06:59 +01:00
parent 5a367a5221
commit 985a8760bb
11 changed files with 550 additions and 11 deletions
@@ -25,8 +25,12 @@ void menuModelNotes(event_t event)
{
if (event == EVT_ENTRY) {
strcpy(reusableBuffer.viewText.filename, MODELS_PATH "/");
#if defined(EEPROM)
char *buf = strcat_modelname(&reusableBuffer.viewText.filename[sizeof(MODELS_PATH)], g_eeGeneral.currModel);
strcpy(buf, TEXT_EXT);
#else
strcat_currentmodelname(&reusableBuffer.viewText.filename[sizeof(MODELS_PATH)]);
#endif
}
menuTextView(event);