FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/g23m-gsm/alr/alr_em.c @ 679:a2a65fdc1a99
alr_em.c compiles
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 29 Sep 2014 16:23:20 +0000 |
parents | 2f7df7a314f8 |
children |
comparison
equal
deleted
inserted
replaced
678:a7865809c863 | 679:a2a65fdc1a99 |
---|---|
20 +----------------------------------------------------------------------------- | 20 +----------------------------------------------------------------------------- |
21 */ | 21 */ |
22 | 22 |
23 #ifndef ALR_EM_C | 23 #ifndef ALR_EM_C |
24 #define ALR_EM_C | 24 #define ALR_EM_C |
25 | |
26 #include "config.h" | |
27 #include "fixedconf.h" | |
28 #include "condat-features.h" | |
25 | 29 |
26 #define ENTITY_PL | 30 #define ENTITY_PL |
27 | 31 |
28 /*==== INCLUDES ===================================================*/ | 32 /*==== INCLUDES ===================================================*/ |
29 #include <string.h> | 33 #include <string.h> |
46 | 50 |
47 #ifdef GPRS | 51 #ifdef GPRS |
48 #include "alr_gprs.h" | 52 #include "alr_gprs.h" |
49 #endif | 53 #endif |
50 | 54 |
51 #ifdef GPRS | 55 #if 0 //#ifdef GPRS |
52 #ifdef _TARGET_ | 56 #ifdef _TARGET_ |
53 #include "inth/iq.h" | 57 #include "inth/iq.h" |
54 #endif | 58 #endif |
55 /* | 59 /* |
56 * obsolete (msb / 2002-04-25) | 60 * obsolete (msb / 2002-04-25) |
324 sem_EM_L1 = vsi_s_open (VSI_CALLER "EM_L1_SEM",1); | 328 sem_EM_L1 = vsi_s_open (VSI_CALLER "EM_L1_SEM",1); |
325 | 329 |
326 if (sem_EM_L1 NEQ VSI_ERROR) | 330 if (sem_EM_L1 NEQ VSI_ERROR) |
327 em_l1_sem_clear (); | 331 em_l1_sem_clear (); |
328 else | 332 else |
329 SYST_TRACE ("D1:canīt open semaphore \"EM_D1_SEM\""); | 333 SYST_TRACE ("D1:can't open semaphore \"EM_D1_SEM\""); |
330 } | 334 } |
331 | 335 |
332 /* | 336 /* |
333 +------------------------------------------------------------------------------ | 337 +------------------------------------------------------------------------------ |
334 | Function : em_l1_sem_exit | 338 | Function : em_l1_sem_exit |
505 { | 509 { |
506 out = 1; | 510 out = 1; |
507 | 511 |
508 /* Implements Measure#32: Row 56 */ | 512 /* Implements Measure#32: Row 56 */ |
509 TRACE_EVENT ("semaphore error"); | 513 TRACE_EVENT ("semaphore error"); |
510 | |
511 | |
512 | |
513 } | 514 } |
514 } | 515 } |
515 | 516 |
516 /* | 517 /* |
517 +------------------------------------------------------------------------------ | 518 +------------------------------------------------------------------------------ |