diff options
| author | JF002 <JF002@users.noreply.github.com> | 2021-05-16 11:37:39 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-16 11:37:39 +0200 |
| commit | 5b2472c4bc84bbdd5e8326ea7562f6bc133cf00e (patch) | |
| tree | 7b78058f711164ab36890c2acccb56c8e7ac6e91 /src/displayapp/screens/SystemInfo.cpp | |
| parent | b5884397191964a3bc080bd4c6953e2b00a564a9 (diff) | |
| parent | a4de61e1f5c7842d25bac0cfb22e4a9f0bff671c (diff) | |
Merge pull request #347 from jedi2light/feature-show-git-commit-hash-short
Feature: Store and show git short ref on PineTime alongside other firmware information
Diffstat (limited to 'src/displayapp/screens/SystemInfo.cpp')
| -rw-r--r-- | src/displayapp/screens/SystemInfo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/displayapp/screens/SystemInfo.cpp b/src/displayapp/screens/SystemInfo.cpp index ab349d7b..e4ef6911 100644 --- a/src/displayapp/screens/SystemInfo.cpp +++ b/src/displayapp/screens/SystemInfo.cpp @@ -69,12 +69,14 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen1() { lv_label_set_text_fmt(label, "#FFFF00 InfiniTime#\n\n" "#444444 Version# %ld.%ld.%ld\n\n" + "#444444 Short Ref# %s\n\n" "#444444 Build date#\n" "%s\n" "%s\n", Version::Major(), Version::Minor(), Version::Patch(), + Version::GitCommitHash(), __DATE__, __TIME__); lv_label_set_align(label, LV_LABEL_ALIGN_CENTER); |
