Skip to content

Commit

Permalink
Remove superfluous memset call.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinling committed Feb 1, 2024
1 parent a78e6f0 commit 570cab1
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions host/hackrf-tools/src/hackrf_sweep.c
Original file line number Diff line number Diff line change
Expand Up @@ -278,9 +278,6 @@ int rx_callback(hackrf_transfer* transfer)

if (timestamp_normalized == true) {
// set the timestamp of the next sweep
memset(&usb_transfer_time,
0,
sizeof(usb_transfer_time));
gettimeofday(&usb_transfer_time, NULL);
}

Expand Down

0 comments on commit 570cab1

Please sign in to comment.