From a8b8fbef8185f99df6b3a3d96d3623812e782933 Mon Sep 17 00:00:00 2001 From: tintinnabulate Date: Thu, 4 Jan 2024 19:27:38 +0000 Subject: [PATCH 1/2] Fix comment --- extralibs/ws2812b_simple.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/extralibs/ws2812b_simple.h b/extralibs/ws2812b_simple.h index 8c569fec..c6bb83e8 100644 --- a/extralibs/ws2812b_simple.h +++ b/extralibs/ws2812b_simple.h @@ -1,16 +1,13 @@ -/* Single-File-Header for using asynchronous LEDs with the CH32V003 using DMA to the SPI port. - I may write another version of this to use DMA to timer ports, but, the SPI port can be used - to generate outputs very efficiently. So, for now, SPI Port. Additionally, it uses FAR less - internal bus resources than to do the same thing with timers. - +/* Single-File-Header for using asynchronous LEDs with the CH32V003 using GPIO. + For the CH32V003 this means output will be on PORTC Pin 6 Copyright 2023 <>< Charles Lohr, under the MIT-x11 or NewBSD License, you choose! - If you are including this in main, simply + If you are including this in main, simply #define WS2812BSIMPLE_IMPLEMENTATION - You may also want to define + You may also want to define #define WS2812BSIMPLE_NO_IRQ_TWEAKING */ From 3d52b425f420e69fc32ae725c207b112ce010604 Mon Sep 17 00:00:00 2001 From: tintinnabulate Date: Thu, 4 Jan 2024 20:20:36 +0000 Subject: [PATCH 2/2] Remove redundant reference to port/pin --- extralibs/ws2812b_simple.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/extralibs/ws2812b_simple.h b/extralibs/ws2812b_simple.h index c6bb83e8..0e35add3 100644 --- a/extralibs/ws2812b_simple.h +++ b/extralibs/ws2812b_simple.h @@ -1,7 +1,5 @@ /* Single-File-Header for using asynchronous LEDs with the CH32V003 using GPIO. - For the CH32V003 this means output will be on PORTC Pin 6 - Copyright 2023 <>< Charles Lohr, under the MIT-x11 or NewBSD License, you choose! If you are including this in main, simply