Browse Source
			
			
			Merge pull request #14 from lumapu/main
			
				fixed issues, reported in Github
			
			
				pull/17/head^2
			
			
		 
		
			
				
					
						 grindylow
					
					4 years ago
						grindylow
					
					4 years ago
					
						
							committed by
							
								 GitHub
								GitHub
							
						 
					
				 
				
			 
		 
		
			
				
					
					No known key found for this signature in database
					
						
							GPG Key ID: 4AEE18F83AFDEB23
						
					
				
			
		
		
		
	
		
			
				 2 changed files with 
3 additions and 
3 deletions
			 
			
		 
		
			
				- 
					
					
					 
					tools/esp8266/app.cpp
				
- 
					
					
					 
					tools/esp8266/defines.h
				
				
				
					
						
							
								
									
	
		
			
				
					|  |  | @ -482,7 +482,7 @@ void app::saveValues(bool webSend = true) { | 
			
		
	
		
			
				
					|  |  |  |             // type
 | 
			
		
	
		
			
				
					|  |  |  |             mWeb->arg("inv" + String(i) + "Type").toCharArray(buf, 20); | 
			
		
	
		
			
				
					|  |  |  |             uint8_t type = atoi(buf); | 
			
		
	
		
			
				
					|  |  |  |             mEep->write(ADDR_INV_TYPE + (i * MAX_NAME_LENGTH), type); | 
			
		
	
		
			
				
					|  |  |  |             mEep->write(ADDR_INV_TYPE + i, type); | 
			
		
	
		
			
				
					|  |  |  |         } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |         interval = mWeb->arg("invInterval").toInt(); | 
			
		
	
	
		
			
				
					|  |  | 
 | 
			
		
	
								
							
						
					 
					
				 
			 
		
			
			
			
			
			
			
				
				
					
						
							
								
									
	
		
			
				
					|  |  | @ -25,7 +25,7 @@ | 
			
		
	
		
			
				
					|  |  |  | //-------------------------------------
 | 
			
		
	
		
			
				
					|  |  |  | #define VERSION_MAJOR       0 | 
			
		
	
		
			
				
					|  |  |  | #define VERSION_MINOR       2 | 
			
		
	
		
			
				
					|  |  |  | #define VERSION_PATCH       9 | 
			
		
	
		
			
				
					|  |  |  | #define VERSION_PATCH       10 | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  | //-------------------------------------
 | 
			
		
	
	
		
			
				
					|  |  | @ -39,7 +39,7 @@ typedef struct { | 
			
		
	
		
			
				
					|  |  |  | // EEPROM
 | 
			
		
	
		
			
				
					|  |  |  | //-------------------------------------
 | 
			
		
	
		
			
				
					|  |  |  | #define SSID_LEN            32 | 
			
		
	
		
			
				
					|  |  |  | #define PWD_LEN             32 | 
			
		
	
		
			
				
					|  |  |  | #define PWD_LEN             63 | 
			
		
	
		
			
				
					|  |  |  | #define DEVNAME_LEN         16 | 
			
		
	
		
			
				
					|  |  |  | #define CRC_LEN             2 // uint16_t
 | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  | 
 |