ectool 0.2.2: Use buffer to improve SPI performance

This commit is contained in:
Jeremy Soller
2020-10-06 09:23:26 -06:00
committed by Jeremy Soller
parent 3ed8db09c5
commit b2aa7ba975
4 changed files with 36 additions and 30 deletions

View File

@@ -1,5 +1,3 @@
#![cfg_attr(not(feature = "std"), no_std)]
//! Library for accessing System76 ECs
//! First, construct an access method, using an object implementing the `Access` trait. Next, an Ec
//! object can be contructed, which exposes the command interface.
@@ -14,6 +12,11 @@
//! compiler. It is only recommended to use these in firmware, as mutual exclusion is not
//! guaranteed.
#![cfg_attr(not(feature = "std"), no_std)]
#[cfg(not(feature = "std"))]
extern crate alloc;
pub use self::access::*;
mod access;