use yml instead of bin to construct notes file name from model file name. #1198
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user