Skip to content

Commit

Permalink
Merge pull request #273 from rgerganov/fix-do-exit
Browse files Browse the repository at this point in the history
Make the 'do_exit' flag static
  • Loading branch information
dominicgs committed Aug 9, 2016
2 parents 2dffba9 + 8ba15ad commit 4eeddc0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion host/hackrf-tools/src/hackrf_transfer.c
Expand Up @@ -288,7 +288,7 @@ char* u64toa(uint64_t val, t_u64toa* str)
return res;
}

volatile bool do_exit = false;
static volatile bool do_exit = false;

FILE* fd = NULL;
volatile uint32_t byte_count = 0;
Expand Down
2 changes: 1 addition & 1 deletion host/libhackrf/src/hackrf.c
Expand Up @@ -117,7 +117,7 @@ static const max2837_ft_t max2837_ft[] = {
{ 0 }
};

volatile bool do_exit = false;
static volatile bool do_exit = false;

static const uint16_t hackrf_usb_vid = 0x1d50;
static const uint16_t hackrf_jawbreaker_usb_pid = 0x604b;
Expand Down

0 comments on commit 4eeddc0

Please sign in to comment.