Author: Rafa Couto <rafacouto@users.noreply.github.com>
Update SystemInfo.cpp Show MAC bytes with left-zeroes
src/displayapp/screens/SystemInfo.cpp | 2 +-
diff --git a/src/displayapp/screens/SystemInfo.cpp b/src/displayapp/screens/SystemInfo.cpp index 8a3b8dbb7bc095bade7616fdbe1f5498d5c6aadf..6ab3df8bc30b2c2bd434530ebe5ceddd9a101ea2 100644 --- a/src/displayapp/screens/SystemInfo.cpp +++ b/src/displayapp/screens/SystemInfo.cpp @@ -105,7 +105,7 @@ } 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)); }