Jan 24, 2022 - version 1.6 - dns name, 80% sd
- change naming convention - all ino's will be called A1 and code may change with that name - keep sd card 20% empty rather than 10% - change order of dns name to more esp32-arduino 2.02 changesmaster
							rodzic
							
								
									5670cf14d1
								
							
						
					
					
						commit
						1d387ab82d
					
				|  | @ -921,7 +921,7 @@ void delete_old_stuff() { | |||
|   Serial.printf("Used space: %lluMB\n", SD_MMC.usedBytes() / (1024 * 1024)); | ||||
| 
 | ||||
|   float full = 1.0 * SD_MMC.usedBytes() / SD_MMC.totalBytes();; | ||||
|   if (full  <  0.9) { | ||||
|   if (full  <  0.8) { | ||||
|     Serial.printf("Nothing deleted, %.1f%% disk full\n", 100.0 * full); | ||||
|   } else { | ||||
|     Serial.printf("Disk is %.1f%% full ... deleting oldest day\n", 100.0 * full); | ||||
|  | @ -1346,8 +1346,8 @@ bool init_wifi() | |||
|   } else { | ||||
| 
 | ||||
|     WiFi.disconnect(true, true); | ||||
|     WiFi.mode(WIFI_STA); | ||||
|     WiFi.setHostname(devname); | ||||
|     WiFi.mode(WIFI_STA); | ||||
|     //WiFi.printDiag(Serial);
 | ||||
|     WiFi.begin(ssid, password); | ||||
| 
 | ||||
|  |  | |||
		Ładowanie…
	
		Reference in New Issue
	
	 jameszah
						jameszah