1
0
Fork 0

Move RGBLIGHT_LED_MAP to data driven (#21095)

This commit is contained in:
Ryan 2023-06-14 22:01:13 +10:00 committed by GitHub
parent 6c4286152f
commit 9551a0a38a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
84 changed files with 68 additions and 306 deletions

View file

@ -23,7 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define WS2812_DMA_STREAM STM32_DMA1_STREAM6 // DMA Stream for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
#define WS2812_DMA_CHANNEL 2 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
#define WS2812_PWM_TARGET_PERIOD 800000
#define RGBLIGHT_LED_MAP { 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 23, 21, 19, 17, 15, 13, 11, 9, 7, 5, 3, 1 }
# define RGBLED_NUM 24
# define RGBLIGHT_HUE_STEP 8