From f345ab6968e52fbbb4d63b6fc2015e305c27e1c3 Mon Sep 17 00:00:00 2001 From: Logan McNaughton <848146+loganmc10@users.noreply.github.com> Date: Thu, 12 Oct 2023 12:51:17 -0600 Subject: [PATCH] avoid error --- src/device/pif.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/device/pif.rs b/src/device/pif.rs index da041141..69b0960a 100644 --- a/src/device/pif.rs +++ b/src/device/pif.rs @@ -152,6 +152,7 @@ pub fn setup_channels_format(device: &mut device::Device) { 0xfd => { /* channel reset - send reset command and discard the results */ + disable_pif_channel(&mut device.pif.channels[k]); // not sure about this k += 1; i += 1; }