+5
-0
lines changedFilter options
+5
-0
lines changed Original file line number Diff line number Diff line change
@@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
29
29
- Support for ULP-RISCV including Delay and GPIO (#840, #845)
30
30
- Add bare-bones SPI slave support, DMA only (#580, #843)
31
31
- Embassy `#[main]` convenience macro (#841)
32
+
- Add a `defmt` feature to the `esp-hal-smartled` package (#846)
32
33
33
34
### Changed
34
35
Original file line number Diff line number Diff line change
@@ -11,6 +11,7 @@ license = "MIT OR Apache-2.0"
11
11
features = ["esp32c3"]
12
12
13
13
[dependencies]
14
+
defmt = { version = "0.3.5", optional = true }
14
15
esp-hal-common = { version = "0.12.0", path = "../esp-hal-common" }
15
16
fugit = "0.3.7"
16
17
smart-leds-trait = "0.2.1"
@@ -25,3 +26,5 @@ esp32s3 = ["esp-hal-common/esp32s3"]
25
26
26
27
xtal-26mhz = ["esp-hal-common/xtal-26mhz"]
27
28
xtal-40mhz = ["esp-hal-common/xtal-40mhz"]
29
+
30
+
defmt = ["dep:defmt", "esp-hal-common/defmt"]
Original file line number Diff line number Diff line change
@@ -62,6 +62,7 @@ const SK68XX_T1L_CYCLES: u16 = ((SK68XX_T1L_NS * (SOURCE_CLK_FREQ / 1_000_000))
62
62
/// All types of errors that can happen during the conversion and transmission
63
63
/// of LED commands
64
64
#[derive(Debug)]
65
+
#[cfg_attr(feature = "defmt", derive(defmt::Format))]
65
66
pub enum LedAdapterError {
66
67
/// Raised in the event that the provided data container is not large enough
67
68
BufferSizeExceeded,
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4