Skip to content

Commit 6b49a54

Browse files
committed
samples: led: fix the CH32V003 overlay
The overlay was done before the PWM node was moved under the timer node, breaking the build. Fix. Signed-off-by: Michael Hope <[email protected]>
1 parent 41cbf92 commit 6b49a54

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

samples/drivers/led/pwm/boards/ch32v003evt.overlay

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@
2121
* is 1465, and the prescaler property is one less than that.
2222
*/
2323
prescaler = <1464>;
24+
};
25+
26+
&pwm2 {
27+
status = "okay";
2428
pinctrl-0 = <&red_pwm_pinctrl>;
2529
pinctrl-names = "default";
2630
};

0 commit comments

Comments
 (0)