From 301eef6f2129469614e8973208cbbb482f66a964 Mon Sep 17 00:00:00 2001 From: Ian Douglas Scott Date: Thu, 4 Mar 2021 12:05:15 -0800 Subject: [PATCH] tool: Fix and CI test with `redox_hwio` --- .github/workflows/ci.yml | 2 +- tool/src/access/lpc/direct.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a2a1158..3fafc65 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: matrix: include: - features: - - features: --no-default-features + - features: --no-default-features --features="redox_hwio" runs-on: ubuntu-20.04 steps: diff --git a/tool/src/access/lpc/direct.rs b/tool/src/access/lpc/direct.rs index 363f172..20df301 100644 --- a/tool/src/access/lpc/direct.rs +++ b/tool/src/access/lpc/direct.rs @@ -13,7 +13,7 @@ use crate::{ use super::*; /// Use direct hardware access. Unsafe due to not having mutual exclusion -pub struct AccessLpcDirect { +pub struct AccessLpcDirect { cmd: u16, dbg: u16, timeout: T,