From ef22f5ab92d2013ee1a9908d34832894f3c06501 Mon Sep 17 00:00:00 2001 From: Ryan Summers Date: Wed, 3 Feb 2021 14:11:00 +0100 Subject: [PATCH] Fixing pounder input capture source --- src/hardware/pounder/timestamp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hardware/pounder/timestamp.rs b/src/hardware/pounder/timestamp.rs index 5ccf235..e709bfa 100644 --- a/src/hardware/pounder/timestamp.rs +++ b/src/hardware/pounder/timestamp.rs @@ -85,7 +85,7 @@ impl Timestamper { // The capture channel should capture whenever the trigger input occurs. let input_capture = capture_channel - .into_input_capture(timers::CaptureTrigger::TriggerInput); + .into_input_capture(timers::tim8::CaptureSource1::TRC); input_capture.listen_dma(); // The data transfer is always a transfer of data from the peripheral to a RAM buffer.