FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/g23m-gsm/cc/cc_srv.c @ 697:543f7afdf79c
cc_srv.c compiles
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Tue, 30 Sep 2014 02:21:42 +0000 |
parents | 2f7df7a314f8 |
children |
comparison
equal
deleted
inserted
replaced
696:7204091241d0 | 697:543f7afdf79c |
---|---|
19 +----------------------------------------------------------------------------- | 19 +----------------------------------------------------------------------------- |
20 */ | 20 */ |
21 | 21 |
22 #ifndef CC_SRV_C | 22 #ifndef CC_SRV_C |
23 #define CC_SRV_C | 23 #define CC_SRV_C |
24 | |
25 #include "config.h" | |
26 #include "fixedconf.h" | |
27 #include "condat-features.h" | |
24 | 28 |
25 #define ENTITY_CC | 29 #define ENTITY_CC |
26 /*==== INCLUDES ===================================================*/ | 30 /*==== INCLUDES ===================================================*/ |
27 | 31 |
28 #include <string.h> | 32 #include <string.h> |
124 { | 128 { |
125 if (cc_data->stored_ti_values[i] EQ cc_data->ti) | 129 if (cc_data->stored_ti_values[i] EQ cc_data->ti) |
126 { | 130 { |
127 cc_data->stored_ti_values[i] = NOT_PRESENT_8BIT; | 131 cc_data->stored_ti_values[i] = NOT_PRESENT_8BIT; |
128 } | 132 } |
129 if (cc_data->stored_ti_values[i] NEQ NOT_PRESENT_8BIT) | 133 if (cc_data->stored_ti_values[i] NEQ NOT_PRESENT_8BIT) |
130 connection_available = TRUE; | 134 connection_available = TRUE; |
131 } | 135 } |
132 if (connection_available EQ FALSE) | 136 if (connection_available EQ FALSE) |
133 cc_data->channel_mode = NAS_CHM_SIG_ONLY; | 137 cc_data->channel_mode = NAS_CHM_SIG_ONLY; |
134 } | 138 } |
217 } | 221 } |
218 } | 222 } |
219 } | 223 } |
220 | 224 |
221 #endif | 225 #endif |
222 |