FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/g23m-gsm/sim/sim_app.c @ 754:4c7f82008335
sim_app.c: reverting failed attempt to unbreak !SIM_TOOLKIT,
with comments left in place
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sat, 11 Oct 2014 21:30:45 +0000 |
parents | 05c04e46a650 |
children |
comparison
equal
deleted
inserted
replaced
753:7f68d2ab0d33 | 754:4c7f82008335 |
---|---|
2408 if (SIM_IS_FLAG_SET (SIM_INSERT)) | 2408 if (SIM_IS_FLAG_SET (SIM_INSERT)) |
2409 { | 2409 { |
2410 /* | 2410 /* |
2411 * Presence check all thirty seconds | 2411 * Presence check all thirty seconds |
2412 */ | 2412 */ |
2413 #ifdef SIM_TOOLKIT | 2413 //#ifdef SIM_TOOLKIT // FreeCalypso failed attempt to unbreak !SIM_TOOLKIT |
2414 if (timer EQ SLEEP_TIMER AND sim_data.sat_session EQ TRUE) | 2414 if (timer EQ SLEEP_TIMER AND sim_data.sat_session EQ TRUE) |
2415 { | 2415 { |
2416 TRACE_EVENT("STK SESSION RUNNING"); | 2416 TRACE_EVENT("STK SESSION RUNNING"); |
2417 return; | 2417 return; |
2418 } | 2418 } |
2419 #endif | 2419 //#endif |
2420 | 2420 |
2421 if ((error = FKT_Status (&pin_cnt, &pin2_cnt, &puk_cnt, &puk2_cnt)) | 2421 if ((error = FKT_Status (&pin_cnt, &pin2_cnt, &puk_cnt, &puk2_cnt)) |
2422 NEQ SIM_NO_ERROR) | 2422 NEQ SIM_NO_ERROR) |
2423 { | 2423 { |
2424 /* stop Poll Timer*/ | 2424 /* stop Poll Timer*/ |
2809 SIM_SET_FLAG (ACTIVATION_STARTED); | 2809 SIM_SET_FLAG (ACTIVATION_STARTED); |
2810 SIM_CLEAR_FLAG (CALL_ACTIVE); | 2810 SIM_CLEAR_FLAG (CALL_ACTIVE); |
2811 sim_data.act_directory = NOT_PRESENT_16BIT; | 2811 sim_data.act_directory = NOT_PRESENT_16BIT; |
2812 sim_data.act_field = NOT_PRESENT_16BIT; | 2812 sim_data.act_field = NOT_PRESENT_16BIT; |
2813 sim_data.status_time = THIRTY_SECONDS; | 2813 sim_data.status_time = THIRTY_SECONDS; |
2814 #ifdef SIM_TOOLKIT | 2814 //#ifdef SIM_TOOLKIT // FreeCalypso failed attempt to unbreak !SIM_TOOLKIT |
2815 sim_data.cust_mode = sim_activate_req->cust_mode; | 2815 sim_data.cust_mode = sim_activate_req->cust_mode; |
2816 #endif | 2816 //#endif |
2817 | 2817 |
2818 if (sim_activate_req->mmi_pro_file & SIM_MMI_BDN) | 2818 if (sim_activate_req->mmi_pro_file & SIM_MMI_BDN) |
2819 SIM_SET_FLAG (BDN_SUPPORT_BY_MMI); | 2819 SIM_SET_FLAG (BDN_SUPPORT_BY_MMI); |
2820 else | 2820 else |
2821 SIM_CLEAR_FLAG (BDN_SUPPORT_BY_MMI); | 2821 SIM_CLEAR_FLAG (BDN_SUPPORT_BY_MMI); |