use yml instead of bin to construct notes file name from model file name. #1198

This commit is contained in:
eshifri
2021-12-01 16:38:46 -08:00
parent 3c725dda35
commit 8da84ad59b
+1 -1
View File
@@ -466,7 +466,7 @@ void readModelNotes()
#if !defined(EEPROM) #if !defined(EEPROM)
if(!notesFound) { if(!notesFound) {
modelNotesName.assign(g_eeGeneral.currModelFilename); modelNotesName.assign(g_eeGeneral.currModelFilename);
size_t index = modelNotesName.find(".bin"); size_t index = modelNotesName.find(".yml");
if(index != std::string::npos) if(index != std::string::npos)
{ {
modelNotesName.erase(index); modelNotesName.erase(index);