mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-25 09:56:54 +06:00
569b0c70be
* WS2812 PWM: prefix for DMA defines * Add backward compatibility defines
10 lines
271 B
C
10 lines
271 B
C
// Copyright 2023 zvecr<git@zvecr.com>
|
|
// 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_PWM_DMA_STREAM STM32_DMA1_STREAM7
|
|
#define WS2812_PWM_DMA_CHANNEL 7
|