Skip to content

Commit

Permalink
readability suggestion from the likely less sleep deprived
Browse files Browse the repository at this point in the history
  • Loading branch information
mossmann committed Mar 16, 2014
1 parent f61e9d2 commit 815d1f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host/hackrf-tools/src/hackrf_transfer.c
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ int rx_callback(hackrf_transfer* transfer) {
if (receive_wav) {
/* convert .wav contents from signed to unsigned */
for (i = 0; i < bytes_to_write; i++) {
*(transfer->buffer + i) ^= (uint8_t)0x80;
transfer->buffer[i] ^= (uint8_t)0x80;
}
}
bytes_written = fwrite(transfer->buffer, 1, bytes_to_write, fd);
Expand Down

0 comments on commit 815d1f6

Please sign in to comment.