fixup! feat(stm32-wba): provide a const constructor on rcc::Config
				
					
				
			This commit is contained in:
		
							parent
							
								
									5d6b51d910
								
							
						
					
					
						commit
						a5a27ef52b
					
				| @ -38,7 +38,6 @@ pub struct Config { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| impl Config { | impl Config { | ||||||
|     #[inline] |  | ||||||
|     pub const fn new() -> Self { |     pub const fn new() -> Self { | ||||||
|         Config { |         Config { | ||||||
|             hse: None, |             hse: None, | ||||||
| @ -56,7 +55,6 @@ impl Config { | |||||||
| } | } | ||||||
| 
 | 
 | ||||||
| impl Default for Config { | impl Default for Config { | ||||||
|     #[inline] |  | ||||||
|     fn default() -> Config { |     fn default() -> Config { | ||||||
|         Self::new() |         Self::new() | ||||||
|     } |     } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user