FreeCalypso > hg > tcs211-l1-reconst
changeset 140:cc68be0c4b80
l1_sync.c: compilation passes for l1_ext and l1_int, but link fails
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Sun, 15 May 2016 02:15:32 +0000 |
parents | 44cd24bfe9d0 |
children | 99caa1978401 |
files | chipsetsw/layer1/cfile/l1_sync.c |
diffstat | 1 files changed, 12 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/chipsetsw/layer1/cfile/l1_sync.c Sun May 15 01:38:28 2016 +0000 +++ b/chipsetsw/layer1/cfile/l1_sync.c Sun May 15 02:15:32 2016 +0000 @@ -611,7 +611,7 @@ l1a_l1s_com.time_to_next_l1s_task < MAX_FN) l1a_l1s_com.time_to_next_l1s_task--; #endif - l1s.tcr_prog_done=0; + /* l1s.tcr_prog_done=0; */ #if (FF_L1_FAST_DECODING == 1) /* If a fast decoding IT is expected AND a deferred control is scheduled */ /* then it means that a fast decoding IT is still awaited from previous */ @@ -626,7 +626,7 @@ #endif /* #if (FF_L1_FAST_DECODING == 1) */ #if L1_GPRS - l1s.tcr_prog_done=0; + /* l1s.tcr_prog_done=0; */ // Increment TOA period counter used in packet tranfer mode if (l1a_l1s_com.mode == PACKET_TRANSFER_MODE) { @@ -724,6 +724,15 @@ { BOOL l1s_task_allowed = TRUE; + /* + * FreeCalypso TCS211 reconstruction: the following code + * fails to compile because the wakeup_time structure member + * is not present in TCS211 headers. Let's try omitting it + * so we can get a successful compile and start diffing the + * compilation results. + */ +#if 0 + /* This is not required in Locosto after merge of deep-sleep * initialization and control frame */ #if (CHIPSET != 15) @@ -751,6 +760,7 @@ l1s.pw_mgr.sleep_performed = DO_NOT_SLEEP; // In case l1s is executed, initialize sleep performed in order to avoid reentry in part above 42432 frames later l1s_task_allowed = TRUE; #endif +#endif if (l1s_task_allowed == TRUE) {