@@ -707,6 +707,16 rtems_timer_service_routine timecode_tim | |||||
707 |
|
707 | |||
708 | unsigned int check_timecode_and_previous_timecode_coherency(unsigned char currentTimecodeCtr) |
|
708 | unsigned int check_timecode_and_previous_timecode_coherency(unsigned char currentTimecodeCtr) | |
709 | { |
|
709 | { | |
|
710 | /** This function checks the coherency between the incoming timecode and the last valid timecode. | |||
|
711 | * | |||
|
712 | * @param currentTimecodeCtr is the incoming timecode | |||
|
713 | * | |||
|
714 | * @return returned codes:: | |||
|
715 | * - LFR_DEFAULT | |||
|
716 | * - LFR_SUCCESSFUL | |||
|
717 | * | |||
|
718 | */ | |||
|
719 | ||||
710 | static unsigned char firstTickout = 1; |
|
720 | static unsigned char firstTickout = 1; | |
711 | unsigned char ret; |
|
721 | unsigned char ret; | |
712 |
|
722 |
@@ -665,11 +665,11 int enter_mode_normal( unsigned int tran | |||||
665 | } |
|
665 | } | |
666 | break; |
|
666 | break; | |
667 | case LFR_MODE_SBM1: |
|
667 | case LFR_MODE_SBM1: | |
668 |
restart_asm_activities( LFR_MODE_NORMAL ); // |
|
668 | restart_asm_activities( LFR_MODE_NORMAL ); // this is necessary to restart ASM tasks to update the parameters | |
669 | status = LFR_SUCCESSFUL; // lfrCurrentMode will be updated after the execution of close_action |
|
669 | status = LFR_SUCCESSFUL; // lfrCurrentMode will be updated after the execution of close_action | |
670 | break; |
|
670 | break; | |
671 | case LFR_MODE_SBM2: |
|
671 | case LFR_MODE_SBM2: | |
672 |
restart_asm_activities( LFR_MODE_NORMAL ); // |
|
672 | restart_asm_activities( LFR_MODE_NORMAL ); // this is necessary to restart ASM tasks to update the parameters | |
673 | status = LFR_SUCCESSFUL; // lfrCurrentMode will be updated after the execution of close_action |
|
673 | status = LFR_SUCCESSFUL; // lfrCurrentMode will be updated after the execution of close_action | |
674 | break; |
|
674 | break; | |
675 | default: |
|
675 | default: |
General Comments 0
You need to be logged in to leave comments.
Login now