diff options
| author | Henrik Tjäder <henrik@tjaders.com> | 2023-02-04 10:14:12 +0100 |
|---|---|---|
| committer | Henrik Tjäder <henrik@tjaders.com> | 2023-03-01 00:35:13 +0100 |
| commit | 858160a55d839bb4064006aa55ddb581259a3074 (patch) | |
| tree | 061990c8b008ab9ad3c9f21d5ec2f58f44877c9f /rtic-monotonics/Cargo.toml | |
| parent | ace010f4e9a7cf1d8b90e9a05eb1b7ea583c2c81 (diff) | |
rtic-monotonics: Simplify features, default is 1kHz
Make 100 Hz or 10 kHz opt in through features,
which are meant for testing primarily.
Diffstat (limited to 'rtic-monotonics/Cargo.toml')
| -rw-r--r-- | rtic-monotonics/Cargo.toml | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rtic-monotonics/Cargo.toml b/rtic-monotonics/Cargo.toml index f94a78b..4014fe7 100644 --- a/rtic-monotonics/Cargo.toml +++ b/rtic-monotonics/Cargo.toml @@ -22,10 +22,8 @@ embedded-hal-async = "0.2.0-alpha.0" fugit = { version = "0.3.6", features = ["defmt"] } rtic-time = { version = "1.0.0-alpha.0", path = "../rtic-time" } atomic-polyfill = "1" +cfg-if = "1.0.0" [features] -default = ["systick_1khz"] - systick_100hz = [] -systick_1khz = [] systick_10khz = [] |
