[ion] Made username volatile

This ensures the compiler doesn't assume that the username is fixed, allowing
us top change it before flashing, to let the user change his username.
This commit is contained in:
M4x1m3
2021-03-20 20:14:12 +01:00
parent 4242c77d64
commit a35fb141c4
3 changed files with 6 additions and 6 deletions

View File

@@ -156,7 +156,7 @@ void AboutController::willDisplayCellForIndex(HighlightCell * cell, int index) {
MessageTableCellWithBuffer * myCell = (MessageTableCellWithBuffer *)cell;
static const char * mpVersion = MICROPY_VERSION_STRING;
static const char * messages[] = {
Ion::username(),
(const char*) Ion::username(),
Ion::softwareVersion(),
Ion::omegaVersion(),
mpVersion,