stm32/rtc: feature-gate instant
This commit is contained in:
		@@ -178,6 +178,7 @@ impl Rtc {
 | 
				
			|||||||
        Ok(())
 | 
					        Ok(())
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    #[cfg(feature = "low-power")]
 | 
				
			||||||
    /// Return the current instant.
 | 
					    /// Return the current instant.
 | 
				
			||||||
    fn instant(&self) -> RtcInstant {
 | 
					    fn instant(&self) -> RtcInstant {
 | 
				
			||||||
        let r = RTC::regs();
 | 
					        let r = RTC::regs();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user