# HG changeset patch # User Space Falcon # Date 1426062422 0 # Node ID 5cc8a442efad591b9c6c659ec4391036dab36e8d # Parent 79ccc6a27a95e8de8491ab84f26448e1a5be1b11 aci: aoc.c and ati_bas.c done diff -r 79ccc6a27a95 -r 5cc8a442efad gsm-fw/g23m-aci/aci/Makefile --- a/gsm-fw/g23m-aci/aci/Makefile Sun Mar 08 23:42:01 2015 +0000 +++ b/gsm-fw/g23m-aci/aci/Makefile Wed Mar 11 08:27:02 2015 +0000 @@ -6,7 +6,7 @@ -I../../cdginc -I../aci_dti_mng -I../ati_ext -I../ksd OBJS= aci_aci.o aci_csf.o aci_em.o aci_lst.o aci_mem.o aci_mfw.o aci_pei.o \ - aci_tim.o aci_util.o + aci_tim.o aci_util.o aoc.o ati_bas.o all: ${OBJS} diff -r 79ccc6a27a95 -r 5cc8a442efad gsm-fw/g23m-aci/aci/aoc.c --- a/gsm-fw/g23m-aci/aci/aoc.c Sun Mar 08 23:42:01 2015 +0000 +++ b/gsm-fw/g23m-aci/aci/aoc.c Wed Mar 11 08:27:02 2015 +0000 @@ -19,6 +19,11 @@ +----------------------------------------------------------------------------- */ +#include "config.h" +#include "fixedconf.h" +#include "condat-features.h" +#include "aci_conf.h" + #include "aci_all.h" #include "l4_tim.h" diff -r 79ccc6a27a95 -r 5cc8a442efad gsm-fw/g23m-aci/aci/ati_bas.c --- a/gsm-fw/g23m-aci/aci/ati_bas.c Sun Mar 08 23:42:01 2015 +0000 +++ b/gsm-fw/g23m-aci/aci/ati_bas.c Wed Mar 11 08:27:02 2015 +0000 @@ -21,6 +21,11 @@ #ifndef ATI_BAS_C #define ATI_BAS_C +#include "config.h" +#include "fixedconf.h" +#include "condat-features.h" +#include "aci_conf.h" + #include "aci_all.h" #include @@ -60,7 +65,7 @@ #include "ati_int.h" #ifndef _SIMULATION_ -#include "ffs\ffs.h" +#include "../../services/ffs/ffs.h" #endif #ifdef FF_ATI_BAT @@ -562,10 +567,10 @@ return ATI_FAIL; } break; + #if defined (GPRS) AND defined (DTI) case(99): - - if (reg_cont<0 OR reg_cont > 255) + if (reg_cont<0 OR reg_cont > 255) { cmdAtError(atError); return ATI_FAIL; @@ -1797,7 +1802,7 @@ } sprintf(g_sa, "+CBC: %d,%d", bcs, powerStat.ChargeLevel ); io_sendMessage(srcId, g_sa, ATI_NORMAL_OUTPUT); - return ATI_CMPL; + return ATI_CMPL; } } @@ -2369,13 +2374,13 @@ if ( !cl OR val > CMEE_MOD_Verbose OR val < CMEE_MOD_Disable ) { cmdAtError(atError); - return ATI_FAIL; + return ATI_FAIL; } else { TRACE_EVENT_P2("setatPlusCMEE: srcId = %d Value = %d", srcId, val); ati_user_output_cfg[srcId].CMEE_stat = (UBYTE)val; - return ATI_CMPL; + return ATI_CMPL; } }