Skip to content

Commit

Permalink
use int instead of uint8_t to allwo expanded channel range
Browse files Browse the repository at this point in the history
  • Loading branch information
ZerBea committed Oct 24, 2020
1 parent 9fe74fe commit c3f021b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hcxdumptool.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ static struct timeval tv;
static struct timeval tvold;
static struct timeval tvtot;
static struct timeval tvpacketsent;
static uint8_t cpa;
static int cpa;
static uint32_t staytime;
static uint16_t reasoncode;
static uint32_t attackcount;
Expand Down Expand Up @@ -6429,7 +6429,7 @@ return gpioperibase;
/*===========================================================================*/
static inline bool ischannelindefaultlist(uint8_t userchannel)
{
static uint8_t cpd;
static int cpd;

cpd = 0;
while(channeldefaultlist[cpd] != 0)
Expand Down

0 comments on commit c3f021b

Please sign in to comment.