aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32f4/src
diff options
context:
space:
mode:
authorDario Nieuwenhuis <[email protected]>2023-12-19 17:35:38 +0100
committerDario Nieuwenhuis <[email protected]>2023-12-19 17:35:38 +0100
commit189b15c426a3a9ef7d4024ba7e5de6a255f88ee7 (patch)
tree50a5c64c14cd2b920bc99ebcbd7fdf276ebe0ae0 /examples/stm32f4/src
parent41c3c26beb5d9ef683073c257c1269307be6ad43 (diff)
stm32/timer: docs.
Diffstat (limited to 'examples/stm32f4/src')
-rw-r--r--examples/stm32f4/src/bin/ws2812_pwm_dma.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32f4/src/bin/ws2812_pwm_dma.rs b/examples/stm32f4/src/bin/ws2812_pwm_dma.rs
index 52cc665c7..39f5d3421 100644
--- a/examples/stm32f4/src/bin/ws2812_pwm_dma.rs
+++ b/examples/stm32f4/src/bin/ws2812_pwm_dma.rs
@@ -110,7 +110,7 @@ async fn main(_spawner: Spawner) {
110 &mut dp.DMA1_CH2, 110 &mut dp.DMA1_CH2,
111 5, 111 5,
112 color_list[color_list_index], 112 color_list[color_list_index],
113 pac::TIM3.ccr(pwm_channel.raw()).as_ptr() as *mut _, 113 pac::TIM3.ccr(pwm_channel.index()).as_ptr() as *mut _,
114 dma_transfer_option, 114 dma_transfer_option,
115 ) 115 )
116 .await; 116 .await;