Skip to content
Snippets Groups Projects
Commit af127eb2 authored by Qi-Dong Zhou's avatar Qi-Dong Zhou
Browse files

stream write change FFFC to FFFD

parent fa4f380f
Branches
Tags
2 merge requests!3Feature/BIIDAQ-73 implement write stream slow control functionality,!56links
......@@ -321,7 +321,7 @@ int pcie40_writestream( int dev , int ch , char * filename ) {
// Fill the FIFO with the requested information: write MSB first
// This is a stream write -> FFFD
int data_word_1 = 0xFFFC ;
int data_word_1 = 0xFFFD ;
ret = ecs_write( dev , SLC_BAR , SLC_WFIFO_ADD + ch * 0x20 ,
(int) ( data_word_1 & 0xFFFFFFFF ) ) ;
......@@ -374,7 +374,7 @@ int pcie40_writebytestream( int dev, int ch, int len, const char *bytes )
// Fill the FIFO with the requested information: write MSB first
// This is a stream write -> FFFD
int data_word_1 = 0xFFFC ;
int data_word_1 = 0xFFFD ;
ret = ecs_write( dev , SLC_BAR , SLC_WFIFO_ADD + ch * 0x20 ,
(int) ( data_word_1 & 0xFFFFFFFF ) ) ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment