diff options
Diffstat (limited to 'embassy-stm32/src/timer/input_capture.rs')
| -rw-r--r-- | embassy-stm32/src/timer/input_capture.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/embassy-stm32/src/timer/input_capture.rs b/embassy-stm32/src/timer/input_capture.rs index 9cf0f8c34..3e1482b67 100644 --- a/embassy-stm32/src/timer/input_capture.rs +++ b/embassy-stm32/src/timer/input_capture.rs | |||
| @@ -97,7 +97,7 @@ impl<'d, T: GeneralInstance4Channel> InputCapture<'d, T> { | |||
| 97 | 97 | ||
| 98 | /// Get capture value for a channel. | 98 | /// Get capture value for a channel. |
| 99 | pub fn get_capture_value(&self, channel: Channel) -> u32 { | 99 | pub fn get_capture_value(&self, channel: Channel) -> u32 { |
| 100 | self.inner.get_capture_value(channel) | 100 | self.inner.get_capture_value(channel).into() |
| 101 | } | 101 | } |
| 102 | 102 | ||
| 103 | /// Get input interrupt. | 103 | /// Get input interrupt. |
