diff --git a/apps/settings/sub_menu/about_controller.cpp b/apps/settings/sub_menu/about_controller.cpp index 8ad0bbb74..fd5d92e6d 100644 --- a/apps/settings/sub_menu/about_controller.cpp +++ b/apps/settings/sub_menu/about_controller.cpp @@ -4,6 +4,9 @@ #include #include +#define MP_STRINGIFY_HELPER(x) #x +#define MP_STRINGIFY(x) MP_STRINGIFY_HELPER(x) + namespace Settings { AboutController::AboutController(Responder * parentResponder) : @@ -94,8 +97,7 @@ void AboutController::willDisplayCellForIndex(HighlightCell * cell, int index) { } else { MessageTableCellWithBuffer * myCell = (MessageTableCellWithBuffer *)cell; - // TODO: Use MICROPY_VERSION_STRING from "mpconfig" - static const char * mpVersion = "1.11.0"; + static const char * mpVersion = MICROPY_VERSION_STRING; static const char * messages[] = { #ifdef USERNAME Ion::username(),