UpdateClass::printError now accepts the Print object (#3763)
This commit is contained in:
		
							parent
							
								
									0dfa5babc2
								
							
						
					
					
						commit
						5871ca9ce9
					
				| @ -78,7 +78,7 @@ class UpdateClass { | ||||
|     /*
 | ||||
|       Prints the last error to an output stream | ||||
|     */ | ||||
|     void printError(Stream &out); | ||||
|     void printError(Print &out); | ||||
| 
 | ||||
|     const char * errorString(); | ||||
| 
 | ||||
|  | ||||
| @ -359,7 +359,7 @@ size_t UpdateClass::writeStream(Stream &data) { | ||||
|     return written; | ||||
| } | ||||
| 
 | ||||
| void UpdateClass::printError(Stream &out){ | ||||
| void UpdateClass::printError(Print &out){ | ||||
|     out.println(_err2str(_error)); | ||||
| } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user