comparison gsm-fw/g23m-gsm/dl/dl_trace.c @ 712:576c006d4b90

dl_trace.c compiles
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Fri, 03 Oct 2014 05:02:26 +0000
parents 2f7df7a314f8
children
comparison
equal deleted inserted replaced
711:4ee3bc3fc540 712:576c006d4b90
19 +----------------------------------------------------------------------------- 19 +-----------------------------------------------------------------------------
20 */ 20 */
21 21
22 #ifndef DL_TRACE_C 22 #ifndef DL_TRACE_C
23 #define DL_TRACE_C 23 #define DL_TRACE_C
24
25 #include "config.h"
26 #include "fixedconf.h"
27 #include "condat-features.h"
24 28
25 #define ENTITY_DL 29 #define ENTITY_DL
26 30
27 /*==== INCLUDES ===================================================*/ 31 /*==== INCLUDES ===================================================*/
28 #include "typedefs.h" 32 #include "typedefs.h"
217 { 221 {
218 trace_data->state = trace_size; 222 trace_data->state = trace_size;
219 } 223 }
220 else 224 else
221 { 225 {
222 GET_INSTANCE_DATA; 226 GET_INSTANCE_DATA;
223 trace_data->ch_type = ch_type; 227 trace_data->ch_type = ch_type;
224 switch (channel) 228 switch (channel)
225 { 229 {
226 case C_SACCH0: 230 case C_SACCH0:
227 case C_DCCH0: 231 case C_DCCH0:
496 500
497 trace_data = &trace_buffer; 501 trace_data = &trace_buffer;
498 trace_data->sysClock = trace_time; 502 trace_data->sysClock = trace_time;
499 if (!((trace_type EQ TRACE_PL_EVENT) OR (trace_type EQ TRACE_RR_EVENT))) 503 if (!((trace_type EQ TRACE_PL_EVENT) OR (trace_type EQ TRACE_RR_EVENT)))
500 { 504 {
501 GET_INSTANCE_DATA; 505 GET_INSTANCE_DATA;
502 switch (channel) 506 switch (channel)
503 { 507 {
504 case C_SACCH0: 508 case C_SACCH0:
505 case C_DCCH0: 509 case C_DCCH0:
506 trace_data->disc_request = dl_data->dcch0_disc_request; 510 trace_data->disc_request = dl_data->dcch0_disc_request;
645 return NULL; 649 return NULL;
646 } 650 }
647 #endif /* DL_TRACE_PFREE */ 651 #endif /* DL_TRACE_PFREE */
648 652
649 #endif /* DL_TRACE_C */ 653 #endif /* DL_TRACE_C */
650