mirror of
				https://github.com/s00500/ESPUI.git
				synced 2025-11-04 04:13:23 +00:00 
			
		
		
		
	Sort out includes for LittleFS
This commit is contained in:
		
							
								
								
									
										10
									
								
								src/ESPUI.h
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								src/ESPUI.h
									
									
									
									
									
								
							@@ -7,10 +7,14 @@
 | 
			
		||||
#include <Arduino.h>
 | 
			
		||||
#include <ArduinoJson.h>
 | 
			
		||||
#include <stdlib_noniso.h>
 | 
			
		||||
#if (ESP_IDF_VERSION_MAJOR == 4 && ESP_IDF_VERSION_MINOR >= 4) || ESP_IDF_VERSION_MAJOR > 4
 | 
			
		||||
	#include <LittleFS.h>
 | 
			
		||||
#ifdef ESP32
 | 
			
		||||
	#if (ESP_IDF_VERSION_MAJOR == 4 && ESP_IDF_VERSION_MINOR >= 4) || ESP_IDF_VERSION_MAJOR > 4
 | 
			
		||||
		#include <LittleFS.h>
 | 
			
		||||
	#else
 | 
			
		||||
		#include <LITTLEFS.h>
 | 
			
		||||
	#endif
 | 
			
		||||
#else
 | 
			
		||||
	#include <LITTLEFS.h>
 | 
			
		||||
	#include <LittleFS.h>
 | 
			
		||||
#endif
 | 
			
		||||
#include <map>
 | 
			
		||||
#include <ESPAsyncWebServer.h>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user