Fix enable Update partition (only)
This commit is contained in:
		
							parent
							
								
									c2f83f48e0
								
							
						
					
					
						commit
						bf60ca7e3b
					
				| @ -209,7 +209,7 @@ bool UpdateClass::_verifyHeader(uint8_t data) { | ||||
| 
 | ||||
| bool UpdateClass::_verifyEnd() { | ||||
|     if(_command == U_FLASH) { | ||||
|         if(!_enablePartition || !_partitionIsBootable(_partition)) { | ||||
|         if(!_enablePartition(_partition) || !_partitionIsBootable(_partition)) { | ||||
|             _abort(UPDATE_ERROR_READ); | ||||
|             return false; | ||||
|         } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user