Skip to content

Commit

Permalink
Fix clang-format errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
martinling committed Feb 1, 2024
1 parent 570cab1 commit aaa211c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions host/hackrf-tools/src/hackrf_sweep.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

#ifndef bool
typedef int bool;
#define true 1
#define true 1
#define false 0
#endif

Expand Down Expand Up @@ -373,8 +373,7 @@ int rx_callback(hackrf_transfer* transfer)
time_str,
(long int) usb_transfer_time.tv_usec,
(uint64_t) (frequency + (DEFAULT_SAMPLE_RATE_HZ / 2)),
(uint64_t) (frequency +
((DEFAULT_SAMPLE_RATE_HZ * 3) / 4)),
(uint64_t) (frequency + ((DEFAULT_SAMPLE_RATE_HZ * 3) / 4)),
fft_bin_width,
fftSize);
for (i = 0; (fftSize / 4) > i; i++) {
Expand Down

0 comments on commit aaa211c

Please sign in to comment.