diff options
author | JF002 <JF002@users.noreply.github.com> | 2020-10-18 17:46:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-18 17:46:22 +0200 |
commit | c655ec71f08487ad520e3bc3b82e06b5d4bbc8df (patch) | |
tree | 5151546408eb509962b442cc6220e17d87244872 /src/displayapp | |
parent | cb2216176cd132c6dc92ab85b06150cb01268a12 (diff) | |
parent | efb7a973a1f243bebb2628173d45d22cefc07143 (diff) |
Merge pull request #99 from rafacouto/patch-1
Update SystemInfo.cpp - Show MAC bytes with left-zeroes
Diffstat (limited to 'src/displayapp')
-rw-r--r-- | src/displayapp/screens/SystemInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/displayapp/screens/SystemInfo.cpp b/src/displayapp/screens/SystemInfo.cpp index 8a3b8dbb..6ab3df8b 100644 --- a/src/displayapp/screens/SystemInfo.cpp +++ b/src/displayapp/screens/SystemInfo.cpp @@ -105,7 +105,7 @@ std::unique_ptr<Screen> SystemInfo::CreateScreen1() { std::unique_ptr<Screen> SystemInfo::CreateScreen2() { auto& bleAddr = bleController.Address(); - sprintf(t2, "BLE MAC: \n %2x:%2x:%2x:%2x:%2x:%2x", + sprintf(t2, "BLE MAC: \n %02x:%02x:%02x:%02x:%02x:%02x", bleAddr[5], bleAddr[4], bleAddr[3], bleAddr[2], bleAddr[1], bleAddr[0]); return std::unique_ptr<Screen>(new Screens::Label(app, t2)); } |