Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
paul
- Thu, 12 Jun 2014 06:09:21
Show More
0
.hgignore
.hgignore
+1
0
@@
-2,6
+2,7
syntax: glob
2
*.pdf
2
*.pdf
3
*~
3
*~
4
*.o
4
*.o
5
*.zip
5
tests/*.err
6
tests/*.err
6
doc
7
doc
7
*.srec
8
*.srec
0
src/fsw_misc.c
src/fsw_misc.c
+5
-5
@@
-342,6
+342,11
void increment_seq_counter( unsigned cha
342
+ packet_sequence_control [ 1 ]
342
+ packet_sequence_control [ 1 ]
343
);
343
);
344
344
345
new_packet_sequence_control = segmentation_grouping_flag | sequence_cnt ;
346
347
packet_sequence_control [ 0 ] = ( unsigned char ) ( new_packet_sequence_control >> 8 );
348
packet_sequence_control [ 1 ] = ( unsigned char ) ( new_packet_sequence_control );
349
345
if ( sequence_cnt < SEQ_CNT_MAX )
350
if ( sequence_cnt < SEQ_CNT_MAX )
346
{
351
{
347
sequence_cnt = sequence_cnt + 1 ;
352
sequence_cnt = sequence_cnt + 1 ;
@@
-350,11
+355,6
void increment_seq_counter( unsigned cha
350
{
355
{
351
sequence_cnt = 0 ;
356
sequence_cnt = 0 ;
352
}
357
}
353
354
new_packet_sequence_control = segmentation_grouping_flag | sequence_cnt ;
355
356
packet_sequence_control [ 0 ] = ( unsigned char ) ( new_packet_sequence_control >> 8 );
357
packet_sequence_control [ 1 ] = ( unsigned char ) ( new_packet_sequence_control );
358
}
358
}
359
359
360
void getTime ( unsigned char * time )
360
void getTime ( unsigned char * time )
0
src/tm_lfr_tc_exe.c
src/tm_lfr_tc_exe.c
+8
-9
@@
-490,6
+490,14
void increment_seq_counter_destination_i
490
break ;
490
break ;
491
}
491
}
492
492
493
segmentation_grouping_flag = TM_PACKET_SEQ_CTRL_STANDALONE << 8 ;
494
sequence_cnt = sequenceCounters_TC_EXE [ i ] & 0x3fff ;
495
496
new_packet_sequence_control = segmentation_grouping_flag | sequence_cnt ;
497
498
packet_sequence_control [ 0 ] = ( unsigned char ) ( new_packet_sequence_control >> 8 );
499
packet_sequence_control [ 1 ] = ( unsigned char ) ( new_packet_sequence_control );
500
493
// increment the sequence counter
501
// increment the sequence counter
494
if ( sequenceCounters_TC_EXE [ i ] < SEQ_CNT_MAX )
502
if ( sequenceCounters_TC_EXE [ i ] < SEQ_CNT_MAX )
495
{
503
{
@@
-499,13
+507,4
void increment_seq_counter_destination_i
499
{
507
{
500
sequenceCounters_TC_EXE [ i ] = 0 ;
508
sequenceCounters_TC_EXE [ i ] = 0 ;
501
}
509
}
502
503
segmentation_grouping_flag = TM_PACKET_SEQ_CTRL_STANDALONE << 8 ;
504
sequence_cnt = sequenceCounters_TC_EXE [ i ] & 0x3fff ;
505
506
new_packet_sequence_control = segmentation_grouping_flag | sequence_cnt ;
507
508
packet_sequence_control [ 0 ] = ( unsigned char ) ( new_packet_sequence_control >> 8 );
509
packet_sequence_control [ 1 ] = ( unsigned char ) ( new_packet_sequence_control );
510
511
}
510
}
Site-wide shortcuts
/
Use quick search box
g h
Goto home page
g g
Goto my private gists page
g G
Goto my public gists page
g 0-9
Goto bookmarked items from 0-9
n r
New repository page
n g
New gist page
Repositories
g s
Goto summary page
g c
Goto changelog page
g f
Goto files page
g F
Goto files page with file search activated
g p
Goto pull requests page
g o
Goto repository settings
g O
Goto repository access permissions settings
t s
Toggle sidebar on some pages