minor cosmetics
This commit is contained in:
parent
5763606bee
commit
018c78ba29
@ -36,7 +36,7 @@ bool mac_add(uint8_t *paddr, int8_t rssi, bool sniff_type) {
|
|||||||
uint32_t vendor2int;
|
uint32_t vendor2int;
|
||||||
uint16_t hashedmac;
|
uint16_t hashedmac;
|
||||||
|
|
||||||
// Only last 3 MAC Address bytes are used bay MAC Address Anonymization
|
// only last 3 MAC Address bytes are used for MAC Address Anonymization
|
||||||
// but since it's uint32 we take 4 bytes to avoid 1st value to be 0
|
// but since it's uint32 we take 4 bytes to avoid 1st value to be 0
|
||||||
addr2int = ( (uint32_t)paddr[2] ) | ( (uint32_t)paddr[3] << 8 ) | ( (uint32_t)paddr[4] << 16 ) | ( (uint32_t)paddr[5] << 24 );
|
addr2int = ( (uint32_t)paddr[2] ) | ( (uint32_t)paddr[3] << 8 ) | ( (uint32_t)paddr[4] << 16 ) | ( (uint32_t)paddr[5] << 24 );
|
||||||
|
|
||||||
|
@ -263,7 +263,7 @@ void sniffer_loop(void * pvParameters) {
|
|||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
|
|
||||||
nloop++; // acutal number of wifi loops, controls cycle when data is sent
|
nloop++; // actual number of wifi loops, controls cycle when data is sent
|
||||||
|
|
||||||
vTaskDelay(cfg.wifichancycle*10 / portTICK_PERIOD_MS);
|
vTaskDelay(cfg.wifichancycle*10 / portTICK_PERIOD_MS);
|
||||||
yield();
|
yield();
|
||||||
|
Loading…
Reference in New Issue
Block a user