diff --git a/peripheral-components/ads1256/node/Cargo.toml b/peripheral-components/ads1256/node/Cargo.toml index dfe59d3..32df4a4 100644 --- a/peripheral-components/ads1256/node/Cargo.toml +++ b/peripheral-components/ads1256/node/Cargo.toml @@ -8,12 +8,16 @@ readme.workspace = true license.workspace = true [features] +poll = ["node-poll-variants"] config = ["physical-ads1256-types/config"] standard-input = ["physical-ads1256-types/standard-input"] standard-multiplexer = ["standard-input"] [dependencies.physical-node] path = "../../../node" +[dependencies.node-poll-variants] +path = "../../../macros/node-poll-variants" +optional = true [dependencies.physical-ads1256-types] path = "../types" features = ["defmt"] diff --git a/peripheral-components/ads1256/node/src/lib.rs b/peripheral-components/ads1256/node/src/lib.rs index 23a18d5..72729a0 100644 --- a/peripheral-components/ads1256/node/src/lib.rs +++ b/peripheral-components/ads1256/node/src/lib.rs @@ -2,5 +2,6 @@ #[cfg(feature = "standard-multiplexer")] mod standard_multiplexer; +mod poll; pub use physical_ads1256_types::*; \ No newline at end of file diff --git a/peripheral-components/ads1256/node/src/poll.rs b/peripheral-components/ads1256/node/src/poll.rs new file mode 100644 index 0000000..e69de29