Skip to content

Commit

Permalink
update stream fix
Browse files Browse the repository at this point in the history
  • Loading branch information
paulh002 committed May 28, 2022
1 parent 3a6deff commit ba030b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SoapyRadioberryStreaming.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ int SoapyRadioberry::writeStream(SoapySDR::Stream *stream, const void * const *b
tx.i8TxBuffer[2] = (unsigned char)(((-1 * itarget_buffer[j + 1]) & 0xff00) >> 8);
tx.i8TxBuffer[3] = (unsigned char)((-1 * itarget_buffer[j + 1]) & 0xff);

ret = 4; //write(fd_rb, &tx, sizeof(uint32_t));
ret = write(fd_rb, &tx, sizeof(uint32_t));
j += 2;
}
}
Expand Down

0 comments on commit ba030b5

Please sign in to comment.