Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
cozycactus committed Jun 17, 2023
1 parent 0fc46ea commit f998706
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/rx888_test.c
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ static void sighandler(int signum)
}
#endif

static void rtlsdr_callback(unsigned char *buf, uint32_t len, void *ctx)
static void rx888_callback(unsigned char *buf, uint32_t len, void *ctx)
{
(void)buf;
(void)ctx;
Expand Down Expand Up @@ -280,7 +280,7 @@ int main(int argc, char **argv)

r = rx888_open(&dev, (uint32_t)dev_index);
if (r < 0) {
fprintf(stderr, "Failed to open rtlsdr device #%d.\n", dev_index);
fprintf(stderr, "Failed to open rx888 device #%d.\n", dev_index);
exit(1);
}
#ifndef _WIN32
Expand All @@ -301,7 +301,7 @@ int main(int argc, char **argv)
gettimeofday(&start_time, NULL);

fprintf(stderr, "Reading samples in async mode...\n");
r = rx888_read_async(dev, rtlsdr_callback, NULL,
r = rx888_read_async(dev, rx888_callback, NULL,
0, out_block_size);

if (do_exit) {
Expand Down

0 comments on commit f998706

Please sign in to comment.