FreeCalypso > hg > fc-tourmaline
diff src/ui/bmi/mmiAoc.c @ 92:c0052fe355d3
src/ui/bmi/*.[ch]: rm trailing white space
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 08 Nov 2020 06:39:16 +0000 |
parents | 67bfe9f274f6 |
children | db101b57af2d |
line wrap: on
line diff
--- a/src/ui/bmi/mmiAoc.c Sun Nov 08 05:12:05 2020 +0000 +++ b/src/ui/bmi/mmiAoc.c Sun Nov 08 06:39:16 2020 +0000 @@ -30,17 +30,17 @@ Description: CPHS: Display 'charge/Timers' menu based on AOC ( Advice of charge ) Solution:Made the following changes 1. Based on the value of Aoc_flag it will be decided to disply 'charge/Timers' menu or not. - + June 16, 2005 REF: CRR 31267 x0021334 Description: Handset ignore the initializtion of the PIN1/PIN2 Fix: Cheking is done to ascertain if PIN1/PIN2 are initialised. If not, appropriate message is displayed to the user. - + 09/04/01 Original Condat(UK) BMI version. - May 25, 2004 REF: CRR MMI-SPR-17588 NISHIKANT KULKARNI - Issue description: On the SIM EF(ACMMax) is defined as 0xFFFFFF, so it should be possible to + May 25, 2004 REF: CRR MMI-SPR-17588 NISHIKANT KULKARNI + Issue description: On the SIM EF(ACMMax) is defined as 0xFFFFFF, so it should be possible to enter 16777215, but only 999999 is accepted. - Solution: MAX_ENTER_LIMIT changed from 7 to 9. A check is done to verify that the entered + Solution: MAX_ENTER_LIMIT changed from 7 to 9. A check is done to verify that the entered ACMmax value is less that 0xFFFFFF. Otherwise "Not Allowed" message is displayed. $End @@ -162,7 +162,7 @@ #define PIN_REQUEST_FOR_RESET_CHARGE 717 /* May 25, 2004 REF: CRR MMI-SPR-17588 NISHIKANT KULKARNI - MAX_ENTER_LIMIT changed from 7 to 9 to accept "Limit" values till 16777215 (0xFFFFFF) + MAX_ENTER_LIMIT changed from 7 to 9 to accept "Limit" values till 16777215 (0xFFFFFF) Previously, with MAX_ENTER_LIMIT set to 7, maximum 999999 could be entered as limit. Effectively, the limit is MAX_ENTER_LIMIT - 1. The last character used for string termination. Also, the maximum value that can be entered (0xFFFFFF) is # defined to MAX_ENTER_VALUE @@ -814,15 +814,15 @@ // May 25, 2004 REF: CRR MMI-SPR-17588 NISHIKANT KULKARNI - // If the ACMmax value entered by the user is more than 16777215 (0xFFFFFF), - // display a "Not Allowed" message. + // If the ACMmax value entered by the user is more than 16777215 (0xFFFFFF), + // display a "Not Allowed" message. if(data->aocInfo.acm_max > MAX_ENTER_VALUE) { // Send event to display a "Not Allowed" message. SEND_EVENT (win, SERVICES_AOC_NOT_SUPPORTED, 0, 0); } - // Else set the ACMmax value in AoC. + // Else set the ACMmax value in AoC. else { result = cm_set_aoc_value(CM_AOC_ACMMAX, &data->aocInfo, PWD); /* save ACMmax in AOC */ @@ -1366,7 +1366,7 @@ #else service_calculate (win, (char*)line, data->aocInfo.acm); #endif - + TRACE_EVENT ("calculate ACM * PPU; PPU !=0 and ACM!=0"); } @@ -1599,7 +1599,7 @@ LONG result; int ch = '.'; UBYTE counter=0; - + /*SPR2500, check validity of pinters before continuing*/ if ((!win) || (!win_data) || @@ -1716,7 +1716,7 @@ UBYTE getAOCflag(void) { return Aoc_flag; -} +} #endif @@ -1745,12 +1745,12 @@ if (CphsPresent() != TRUE) { TRACE_EVENT("CPHS is not present in this SIM"); - setAOCflag(TRUE); + setAOCflag(TRUE); } TRACE_EVENT_P1("Values: Aoc_flag = %d - 1 Indicates AOC is set in the CSP", getAOCflag()); TRACE_EVENT_P1("status : cphs_status = %d ", CphsPresent()); #endif - + if (access.access_acm EQ MFW_SIM_PIN2 && access.access_acmmax EQ MFW_SIM_PIN2 && access.access_puct EQ MFW_SIM_PIN2) @@ -1776,9 +1776,9 @@ if (getAOCflag()) return MFW_SIM_PIN_REQ; else - return MFW_SIM_NO_AOC; + return MFW_SIM_NO_AOC; #else - return MFW_SIM_PIN_REQ; + return MFW_SIM_PIN_REQ; #endif } else if (access.access_acm EQ MFW_SIM_NO_PIN && @@ -1814,7 +1814,7 @@ return MFW_SIM_NO_AOC; } #endif - + } /*******************************************************************************