mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-12-29 04:39:26 +06:00
569b0c70be
* WS2812 PWM: prefix for DMA defines * Add backward compatibility defines
16 lines
396 B
C
16 lines
396 B
C
// Copyright 2023 Maria (@toril940)
|
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
#pragma once
|
|
|
|
#define WS2812_EXTERNAL_PULLUP
|
|
|
|
#define WS2812_PWM_DRIVER PWMD17
|
|
#define WS2812_PWM_CHANNEL 1
|
|
#define WS2812_PWM_DMA_STREAM STM32_DMA1_STREAM1
|
|
#define WS2812_PWM_DMA_CHANNEL 1
|
|
// #define WS2812_PWM_DMAMUX_ID STM32_DMAMUX1_TIM17_UP
|
|
|
|
#define INDICATOR_0 C9
|
|
#define INDICATOR_1 C8
|
|
#define INDICATOR_2 C7 |