# HG changeset patch # User Mychaela Falconia # Date 1521525272 0 # Node ID 2ba8d9decc303046ddc4cc60d11dd18bca54e95d # Parent 712c5cc0b2a9d99e9bac4bcfac3cdfe0cdf9defd bmi3: show FreeCalypso fw version in ###520# screen diff -r 712c5cc0b2a9 -r 2ba8d9decc30 src/ui3/bmi/mmiIdle.c --- a/src/ui3/bmi/mmiIdle.c Tue Mar 20 01:29:44 2018 +0000 +++ b/src/ui3/bmi/mmiIdle.c Tue Mar 20 05:54:32 2018 +0000 @@ -794,10 +794,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 = "20080812"; const char * bmi = "01.06.01"; const char * gprs = "XX.XX.XX"; const char * ti = "N5.24M18V1.9"; +#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; @@ -6028,6 +6033,7 @@ case SHOWVERSION_INIT: { +#if 0 /* FreeCalypso */ strcat(data->buffer, "Date:"); strcat(data->buffer, date); strcat(data->buffer,"\n"); @@ -6039,6 +6045,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