File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -586,7 +586,7 @@ static int fhss_update_synch_monitor(fhss_structure_t *fhss_structure, const fhs
586
586
/* If superframe changed during synchronization but remaining time to next superframe is high, it is likely that
587
587
* superframe change is not valid anymore. Don't use this Beacon for syncronization monitoring.
588
588
*/
589
- if (!( super_frame_changed && (( configuration -> fhss_superframe_length - remaining_time_own ) < CLOSE_TO_SUPERFRAME_LENGTH )) ) {
589
+ if (( configuration -> fhss_superframe_length - remaining_time_own ) > CLOSE_TO_SUPERFRAME_LENGTH ) {
590
590
remaining_time_own += (int32_t ) configuration -> fhss_superframe_length * super_frame_changed ;
591
591
592
592
int32_t prev_synch_fix = (time_to_next_superframe - remaining_time_own );
You can’t perform that action at this time.
0 commit comments