Please enable JavaScript to use RhodeCode Enterprise
##// END OF EJS Templates
paul
- Fri, 08 Nov 2013 11:24:12
Show More
0
header/fsw_params.h
header/fsw_params.h
+1
-1
0
src/fsw_init.c
src/fsw_init.c
+1
-1
@@
-387,7
+387,7
int create_all_tasks( void ) // create a
387
{
387
{
388
status = rtems_task_create (
388
status = rtems_task_create (
389
Task_name [ TASKID_SEND ], TASK_PRIORITY_SEND , RTEMS_MINIMUM_STACK_SIZE ,
389
Task_name [ TASKID_SEND ], TASK_PRIORITY_SEND , RTEMS_MINIMUM_STACK_SIZE ,
390
RTEMS_DEFAULT_MODES ,
390
RTEMS_DEFAULT_MODES | RTEMS_NO_PREEMPT ,
391
RTEMS_DEFAULT_ATTRIBUTES , & Task_id [ TASKID_SEND ]
391
RTEMS_DEFAULT_ATTRIBUTES , & Task_id [ TASKID_SEND ]
392
);
392
);
393
}
393
}
0
src/fsw_spacewire.c
src/fsw_spacewire.c
+3
-14
@@
-228,20
+228,9
rtems_task send_task( rtems_task_argumen
228
else // the incoming message is a spw_ioctl_pkt_send structure
228
else // the incoming message is a spw_ioctl_pkt_send structure
229
{
229
{
230
spw_ioctl_send = ( spw_ioctl_pkt_send * ) incomingData ;
230
spw_ioctl_send = ( spw_ioctl_pkt_send * ) incomingData ;
231
if ( spw_ioctl_send -> hlen == 0 )
231
status = ioctl ( fdSPW , SPACEWIRE_IOCTRL_SEND , spw_ioctl_send );
232
{
232
if ( status == - 1 ) {
233
status = write ( fdSPW , spw_ioctl_send -> data , spw_ioctl_send -> dlen );
233
PRINTF2 ( "in SEND *** (2.b) ERRNO = %d, RTEMS = %d \n " , errno , status )
234
if ( status == - 1 ){
235
PRINTF2 ( "in SEND *** (2.b) ERRNO = %d, dlen = %d \n " , errno , spw_ioctl_send -> dlen )
236
}
237
}
238
else
239
{
240
status = ioctl ( fdSPW , SPACEWIRE_IOCTRL_SEND , spw_ioctl_send );
241
if ( status == - 1 ){
242
PRINTF2 ( "in SEND *** (2.c) ERRNO = %d, dlen = %d \n " , errno , spw_ioctl_send -> dlen )
243
PRINTF1 ( " hlen = %d \n " , spw_ioctl_send -> hlen )
244
}
245
}
234
}
246
}
235
}
247
}
236
}
0
src/tc_load_dump_parameters.c
src/tc_load_dump_parameters.c
+3
-3
@@
-42,9
+42,9
int action_load_normal_par(ccsdsTelecomm
42
int flag ;
42
int flag ;
43
43
44
flag = LFR_SUCCESSFUL ;
44
flag = LFR_SUCCESSFUL ;
45
result = LFR_SUCCESSFUL ;
46
45
47
if ( lfrCurrentMode == LFR_MODE_NORMAL ) {
46
if ( ( lfrCurrentMode == LFR_MODE_NORMAL ) ||
47
( lfrCurrentMode == LFR_MODE_SBM1 ) || ( lfrCurrentMode == LFR_MODE_SBM2 ) ) {
48
send_tm_lfr_tc_exe_not_executable ( TC , queue_id );
48
send_tm_lfr_tc_exe_not_executable ( TC , queue_id );
49
flag = LFR_DEFAULT ;
49
flag = LFR_DEFAULT ;
50
}
50
}
@@
-104,7
+104,7
int action_load_normal_par(ccsdsTelecomm
104
}
104
}
105
}
105
}
106
106
107
return result;
107
return flag ;
108
}
108
}
109
109
110
int action_load_burst_par ( ccsdsTelecommandPacket_t * TC , rtems_id queue_id )
110
int action_load_burst_par ( ccsdsTelecommandPacket_t * TC , rtems_id queue_id )
0
src/wf_handler.c
src/wf_handler.c
+2
-2
@@
-1183,8
+1183,8
void increment_seq_counter_source_id( un
1183
unsigned short segmentation_grouping_flag ;
1183
unsigned short segmentation_grouping_flag ;
1184
unsigned short new_packet_sequence_control ;
1184
unsigned short new_packet_sequence_control ;
1185
1185
1186
if ( ( sid == SID_NORM_SWF_F0 ) || ( sid == SID_NORM_SWF_F1 ) || ( sid == SID_NORM_SWF_F2 )
1186
if ( ( sid == SID_NORM_SWF_F0 ) || ( sid == SID_NORM_SWF_F1 ) || ( sid == SID_NORM_SWF_F2 )
1187
|| ( sid == SID_BURST_CWF_F2 ) )
1187
|| ( sid == SID_NORM_CWF_F3 ) || ( sid == SID_BURST_CWF_F2 ) )
1188
{
1188
{
1189
sequence_cnt = & sequenceCounters_SCIENCE_NORMAL_BURST ;
1189
sequence_cnt = & sequenceCounters_SCIENCE_NORMAL_BURST ;
1190
}
1190
}
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