fixed issue #160
This commit is contained in:
		
							parent
							
								
									a7c1d12eb2
								
							
						
					
					
						commit
						32a42dda2d
					
				| @ -114,7 +114,7 @@ bool mac_add(uint8_t *paddr, int8_t rssi, bool sniff_type) { | |||||||
|     } // added
 |     } // added
 | ||||||
| 
 | 
 | ||||||
|     // Log scan result
 |     // Log scan result
 | ||||||
|     ESP_LOGD(TAG, |     ESP_LOGV(TAG, | ||||||
|              "%s %s RSSI %ddBi -> MAC %s -> Hash %04X -> WiFi:%d  BLTH:%d -> " |              "%s %s RSSI %ddBi -> MAC %s -> Hash %04X -> WiFi:%d  BLTH:%d -> " | ||||||
|              "%d Bytes left", |              "%d Bytes left", | ||||||
|              added ? "new  " : "known", |              added ? "new  " : "known", | ||||||
|  | |||||||
| @ -29,12 +29,12 @@ Task          Core  Prio  Purpose | |||||||
| ==================================================================================== | ==================================================================================== | ||||||
| wifiloop      0     4     rotates wifi channels | wifiloop      0     4     rotates wifi channels | ||||||
| ledloop       0     3     blinks LEDs | ledloop       0     3     blinks LEDs | ||||||
| gpsloop       0     2     reads data from GPS over serial or i2c |  | ||||||
| spiloop       0     2     reads/writes data on spi interface | spiloop       0     2     reads/writes data on spi interface | ||||||
| IDLE          0     0     ESP32 arduino scheduler -> runs wifi sniffer | IDLE          0     0     ESP32 arduino scheduler -> runs wifi sniffer | ||||||
| 
 | 
 | ||||||
| looptask      1     1     arduino core -> runs the LMIC LoRa stack | looptask      1     1     arduino core -> runs the LMIC LoRa stack | ||||||
| irqhandler    1     1     executes tasks triggered by irq | irqhandler    1     1     executes tasks triggered by irq | ||||||
|  | gpsloop       1     2     reads data from GPS over serial or i2c | ||||||
| IDLE          1     0     ESP32 arduino scheduler | IDLE          1     0     ESP32 arduino scheduler | ||||||
| 
 | 
 | ||||||
| ESP32 hardware timers | ESP32 hardware timers | ||||||
| @ -289,7 +289,7 @@ void setup() { | |||||||
|                           (void *)1, // parameter of the task
 |                           (void *)1, // parameter of the task
 | ||||||
|                           2,         // priority of the task
 |                           2,         // priority of the task
 | ||||||
|                           &GpsTask,  // task handle
 |                           &GpsTask,  // task handle
 | ||||||
|                           0);        // CPU core
 |                           1);        // CPU core
 | ||||||
| #endif | #endif | ||||||
| 
 | 
 | ||||||
| #ifdef HAS_SPI | #ifdef HAS_SPI | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user