Start to make constructor

This commit is contained in:
Dmitry Borisenko
2020-08-04 02:21:20 +02:00
parent 78fb96d50d
commit 8d31bcb5dd
14 changed files with 106 additions and 9 deletions

View File

@@ -29,7 +29,7 @@ void createWidget(String descr, String page, String order, String filename, Stri
#ifdef LAYOUT_IN_RAM
all_widgets += widget + "\r\n";
#else
addFile("layout.txt", buf);
addFileLn("layout.txt", buf);
#endif
}
@@ -56,7 +56,7 @@ void createWidgetParam(String widget, String page, String pageNumber, String fil
#ifdef LAYOUT_IN_RAM
all_widgets += widget + "\r\n";
#else
addFile("layout.txt", buf);
addFileLn("layout.txt", buf);
#endif
}
@@ -80,7 +80,7 @@ void createChart(String widget, String page, String pageNumber, String filename,
#ifdef LAYOUT_IN_RAM
all_widgets += widget + "\r\n";
#else
addFile("layout.txt", buf);
addFileLn("layout.txt", buf);
#endif
}