We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85769ca commit 3afbb41Copy full SHA for 3afbb41
src/lib.rs
@@ -26,7 +26,7 @@ where
26
}
27
/// Write a single color for ws2812 devices
28
#[cfg(feature = "slow")]
29
- fn write_byte(&mut self, data: u8) {
+ fn write_byte(&mut self, mut data: u8) {
30
for _ in 0..8 {
31
if (data & 0x80) != 0 {
32
block!(self.timer.wait()).ok();
@@ -46,7 +46,7 @@ where
46
47
48
#[cfg(not(feature = "slow"))]
49
50
51
52
0 commit comments