comparison chipsetsw/layer1/cfile/l1_cmplx.c @ 58:fcdbd97411c4

l1_cmplx.c: l1s_new_synchro() reconstructed
author Mychaela Falconia <falcon@ivan.Harhan.ORG>
date Sun, 27 Mar 2016 06:48:45 +0000
parents ef8ab5a0fe8f
children 250c8bc322c7
comparison
equal deleted inserted replaced
57:ef8ab5a0fe8f 58:fcdbd97411c4
447 // SYNCHRO task is a one shot task enabled by L1A and 447 // SYNCHRO task is a one shot task enabled by L1A and
448 // disables after its execution in L1S. Here is the disabling. 448 // disables after its execution in L1S. Here is the disabling.
449 l1a_l1s_com.l1s_en_task[SYNCHRO] = TASK_DISABLED; 449 l1a_l1s_com.l1s_en_task[SYNCHRO] = TASK_DISABLED;
450 l1s.task_status[SYNCHRO].current_status = INACTIVE; 450 l1s.task_status[SYNCHRO].current_status = INACTIVE;
451 451
452 #if 0 /* FreeCalypso TCS211 reconstruction */
452 #if L1_GPRS 453 #if L1_GPRS
453 //Change of mode when synchro is executed when switching from idle to transfer 454 //Change of mode when synchro is executed when switching from idle to transfer
454 //In this case, PDTCH task has been enabled in transfer mode manager, but the mode is still not PACKET_TRANSFER_MODE 455 //In this case, PDTCH task has been enabled in transfer mode manager, but the mode is still not PACKET_TRANSFER_MODE
455 if((l1a_l1s_com.l1s_en_task[PDTCH] == TASK_ENABLED) && (l1a_l1s_com.mode != PACKET_TRANSFER_MODE)) 456 if((l1a_l1s_com.l1s_en_task[PDTCH] == TASK_ENABLED) && (l1a_l1s_com.mode != PACKET_TRANSFER_MODE))
456 l1a_l1s_com.mode = PACKET_TRANSFER_MODE; 457 l1a_l1s_com.mode = PACKET_TRANSFER_MODE;
458 #endif
457 #endif 459 #endif
458 460
459 // Compute timeshift. 461 // Compute timeshift.
460 // ******************* 462 // *******************
461 463