Fix ESP32 hello_rgb example (#1173)

* Fix ESP32 hello_rgb example

* CHANGELOG.md
This commit is contained in:
Björn Quentin 2024-02-16 12:18:16 +01:00 committed by GitHub
parent 6e68da0f4d
commit 2a5996f408
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix `get_raw_core` on Xtensa (#1126)
- Fix docs.rs documentation builds (#1129)
- Fix circular DMA (#1144)
- Fix `hello_rgb` example for ESP32 (#1173)
### Changed

View File

@ -39,7 +39,7 @@ fn main() -> ! {
// -> We need to use the macro `smartLedBuffer!` with the number of addressed
// LEDs here to initialize the internal LED pulse buffer to the correct
// size!
let rmt_buffer = smartLedBuffer!(1);
let rmt_buffer = smartLedBuffer!(12);
let mut led = SmartLedsAdapter::new(rmt.channel0, io.pins.gpio33, rmt_buffer, &clocks);
// Initialize the Delay peripheral, and use it to toggle the LED state in a