initial message not shown on release candidate versions

This commit is contained in:
PavelSindler 2018-01-17 17:38:34 +01:00
parent b2c257478c
commit 4843f2c48e
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@
// Firmware version
#define FW_VERSION "3.1.1-RC5"
#define FW_COMMIT_NR 148
#define FW_COMMIT_NR 149
#define FW_DEV_VERSION FW_VERSION_RC
#define FW_VERSION_FULL FW_VERSION "-" STR(FW_COMMIT_NR)

View File

@ -887,7 +887,7 @@ void factory_reset()
}
void show_fw_version_warnings() {
if (FW_DEV_VERSION == FW_VERSION_GOLD) return;
if (FW_DEV_VERSION == FW_VERSION_GOLD || FW_DEV_VERSION == FW_VERSION_RC) return;
switch (FW_DEV_VERSION) {
case(FW_VERSION_ALPHA): lcd_show_fullscreen_message_and_wait_P(MSG_FW_VERSION_ALPHA); break;
case(FW_VERSION_BETA): lcd_show_fullscreen_message_and_wait_P(MSG_FW_VERSION_BETA); break;