Parse own short name in LogoApplet

This commit is contained in:
Todd Herbert 2025-05-29 14:57:26 +12:00
parent 42a80d8aed
commit bc14faeda8

View File

@ -111,9 +111,10 @@ void InkHUD::LogoApplet::onShutdown()
// Prepare for the powered-off screen now // Prepare for the powered-off screen now
// We can change these values because the initial "shutting down" screen has already rendered at this point // We can change these values because the initial "shutting down" screen has already rendered at this point
meshtastic_NodeInfoLite *ourNode = nodeDB->getMeshNode(nodeDB->getNodeNum());
textLeft = ""; textLeft = "";
textRight = ""; textRight = "";
textTitle = owner.short_name; textTitle = parseShortName(ourNode);
fontTitle = fontLarge; fontTitle = fontLarge;
// This is then drawn by InkHUD::Events::onShutdown, with a blocking FULL update, after InkHUD's flash write is complete // This is then drawn by InkHUD::Events::onShutdown, with a blocking FULL update, after InkHUD's flash write is complete