minor cosmetics

This commit is contained in:
Klaus K Wilting 2018-04-05 21:47:43 +02:00
parent 5763606bee
commit 018c78ba29
3 changed files with 4 additions and 4 deletions

View File

@ -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 );

View File

@ -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();