fmt
This commit is contained in:
		
				
					committed by
					
						 Dario Nieuwenhuis
						Dario Nieuwenhuis
					
				
			
			
				
	
			
			
			
						parent
						
							4757257ac0
						
					
				
				
					commit
					29114c849d
				
			| @@ -220,9 +220,9 @@ pub struct BlockingFirmwareState<'d, STATE> { | ||||
|  | ||||
| impl<'d, STATE: NorFlash> BlockingFirmwareState<'d, STATE> { | ||||
|     /// Creates a firmware state instance from a FirmwareUpdaterConfig, with a buffer for magic content and state partition. | ||||
|     ///  | ||||
|     /// | ||||
|     /// # Safety | ||||
|     ///  | ||||
|     /// | ||||
|     /// The `aligned` buffer must have a size of STATE::WRITE_SIZE, and follow the alignment rules for the flash being read from | ||||
|     /// and written to. | ||||
|     pub fn from_config<DFU: NorFlash>(config: FirmwareUpdaterConfig<DFU, STATE>, aligned: &'d mut [u8]) -> Self { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user