# HG changeset patch # User Mychaela Falconia # Date 1521526086 0 # Node ID 0f79101c6fa2bdc27e37f55793d062587972199c # Parent 2ba8d9decc303046ddc4cc60d11dd18bca54e95d bmi2: show FreeCalypso fw version in ###520# screen diff -r 2ba8d9decc30 -r 0f79101c6fa2 src/aci2/bmi/mmiIdle.c --- a/src/aci2/bmi/mmiIdle.c Tue Mar 20 05:54:32 2018 +0000 +++ b/src/aci2/bmi/mmiIdle.c Tue Mar 20 06:08:06 2018 +0000 @@ -615,10 +615,15 @@ void ShowVersionSetEditor(T_MFW_HND win); static void ShowVerionCB( T_MFW_HND win, USHORT Identifier,UBYTE reason); void showVersion_destroy(MfwHnd own_window); + +#if 0 /* FreeCalypso */ const char * date = "29.02.02"; const char * bmi = "01.06.01"; const char * gprs = "XX.XX.XX"; -const char * ti = "05.03.02"; +const char * ti = "05.03.02"; +#endif + +extern const char firmware_version_str[]; //API - 13-01-03 - 1310 - Create a variable for idle instead of using global pin_emergency_call UBYTE pin_idle_emerg_call; @@ -4905,6 +4910,7 @@ case SHOWVERSION_INIT: { +#if 0 /* FreeCalypso */ strcat(data->buffer, "Date:"); strcat(data->buffer, date); strcat(data->buffer,"\n"); @@ -4916,6 +4922,9 @@ strcat(data->buffer,"\n"); strcat(data->buffer,"TI:"); strcat(data->buffer, ti); +#else + strcat(data->buffer, firmware_version_str); +#endif ShowVersionSetEditor(win);//set editor with default attribute values