FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/services/ffs/ffstrace.c @ 214:bdfdea886bea
gsm-fw/services/ffs: ffs_env.c and ffstrace.c compile
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 06 Jan 2014 04:43:21 +0000 |
parents | ef7d7da61c56 |
children |
comparison
equal
deleted
inserted
replaced
213:ef7d7da61c56 | 214:bdfdea886bea |
---|---|
6 * | 6 * |
7 * $Id: ffstrace.c 1.32.1.10 Thu, 18 Dec 2003 10:50:52 +0100 tsj $ | 7 * $Id: ffstrace.c 1.32.1.10 Thu, 18 Dec 2003 10:50:52 +0100 tsj $ |
8 * | 8 * |
9 ******************************************************************************/ | 9 ******************************************************************************/ |
10 | 10 |
11 #ifndef TARGET | 11 #include "ffs.h" |
12 #include "ffs.cfg" | 12 #include "drv.h" |
13 #endif | 13 #include "ffstrace.h" |
14 | |
15 #include "ffs/ffs.h" | |
16 #include "ffs/board/drv.h" | |
17 #include "ffs/board/ffstrace.h" | |
18 | 14 |
19 #include <stdio.h> | 15 #include <stdio.h> |
20 #include <stdlib.h> | 16 #include <stdlib.h> |
21 #include <stdarg.h> | 17 #include <stdarg.h> |
22 #include <string.h> | 18 #include <string.h> |
23 | 19 |
20 #include "../../riviera/rvf/rvf_api.h" | |
21 #include "../../riviera/rv/rv_general.h" | |
22 #include "../../riviera/rvm/rvm_use_id_list.h" | |
23 | |
24 /****************************************************************************** | 24 /****************************************************************************** |
25 * LED control | 25 * LED control |
26 *****************************************************************************/ | 26 *****************************************************************************/ |
27 | 27 |
28 #if (TARGET == 1) | 28 #if 0 //(TARGET == 1) |
29 | |
30 #include "rvf/rvf_api.h" | |
31 #include "rv/rv_general.h" | |
32 #include "rvm/rvm_use_id_list.h" | |
33 | 29 |
34 static uint8 led_state = 0; | 30 static uint8 led_state = 0; |
35 static uint8 led_countbits = 0; // number of counter bits | 31 static uint8 led_countbits = 0; // number of counter bits |
36 static uint8 led_mask = 0x0; // mask containing the counter bits | 32 static uint8 led_mask = 0x0; // mask containing the counter bits |
37 | 33 |