Merge pull request #273 from rgerganov/fix-do-exit
Make the 'do_exit' flag static
This commit is contained in:
@ -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;
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user