reduced all task loop delays from 10 to 1
This commit is contained in:
		
							parent
							
								
									7f0c3202a3
								
							
						
					
					
						commit
						1e9f384df5
					
				| @ -13,8 +13,8 @@ | ||||
| [platformio] | ||||
| ;env_default = heltec | ||||
| ;env_default = ttgov1 | ||||
| ;env_default = ttgov2 | ||||
| env_default = ttgov21 | ||||
| env_default = ttgov2 | ||||
| ;env_default = ttgov21 | ||||
| ;env_default = lopy | ||||
| ;env_default = lopy4 | ||||
| ;env_default = fipy | ||||
|  | ||||
| @ -218,7 +218,7 @@ void sniffer_loop(void * pvParameters) { | ||||
|             wifi_sniffer_set_channel(channel); | ||||
|             ESP_LOGD(TAG, "Wifi set channel %d", channel); | ||||
| 
 | ||||
|             vTaskDelay(10/portTICK_PERIOD_MS); // reset watchdog
 | ||||
|             vTaskDelay(1/portTICK_PERIOD_MS); // reset watchdog
 | ||||
|         } | ||||
| 
 | ||||
|     } // end of infinite wifi channel rotation loop
 | ||||
| @ -627,7 +627,7 @@ void loop() { | ||||
|             reset_salt();       // get new salt for salting hashes
 | ||||
|         } | ||||
| 
 | ||||
|         vTaskDelay(10/portTICK_PERIOD_MS); // reset watchdog
 | ||||
|         vTaskDelay(1/portTICK_PERIOD_MS); // reset watchdog
 | ||||
| 
 | ||||
|     } // end of infinite main loop
 | ||||
| } | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user