mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-28 11:47:32 +06:00
11 lines
295 B
C
11 lines
295 B
C
|
// Copyright 2021 Mike Tsao
|
||
|
// Copyright 2024 Richard Dawe (@richdawe)
|
||
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
#define WS2812_PWM_DRIVER PWMD4
|
||
|
#define WS2812_PWM_CHANNEL 4
|
||
|
#define WS2812_PWM_PAL_MODE 2
|
||
|
#define WS2812_DMA_STREAM STM32_DMA1_STREAM7
|
||
|
#define WS2812_DMA_CHANNEL 7
|