Add source code license and link to github to system app

This commit is contained in:
Michael 2020-12-28 02:45:24 -05:00
parent b4fb8897ac
commit 1a6de3326f
2 changed files with 9 additions and 2 deletions

View File

@ -112,6 +112,13 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen2() {
} }
std::unique_ptr<Screen> SystemInfo::CreateScreen3() { std::unique_ptr<Screen> SystemInfo::CreateScreen3() {
strncpy(t3, "Hello from\nthe developer!", 27); sprintf(t3, "Hello from\nthe developer!\n"
"Software Licensed\n"
"under the terms of\n"
"the GNU General\n"
"Public License v3\n"
"Source code:\n"
"https://github.com/\n"
" JF002/Pinetime");
return std::unique_ptr<Screen>(new Screens::Label(app, t3)); return std::unique_ptr<Screen>(new Screens::Label(app, t3));
} }

View File

@ -43,7 +43,7 @@ namespace Pinetime {
char t1[200]; char t1[200];
char t2[200]; char t2[200];
char t3[30]; char t3[200];
ScreenList<3> screens; ScreenList<3> screens;
std::unique_ptr<Screen> CreateScreen1(); std::unique_ptr<Screen> CreateScreen1();