Remove duplicate of SPI default config from keyboards (#25266)
This commit is contained in:
@@ -11,6 +11,5 @@
|
||||
#define HAL_USE_PWM TRUE
|
||||
|
||||
#define HAL_USE_SPI TRUE
|
||||
#define SPI_USE_WAIT TRUE
|
||||
|
||||
#include_next <halconf.h>
|
||||
|
||||
@@ -17,6 +17,5 @@
|
||||
#pragma once
|
||||
|
||||
#define HAL_USE_SPI TRUE
|
||||
#define SPI_USE_WAIT TRUE
|
||||
|
||||
#include_next <halconf.h>
|
||||
|
||||
@@ -10,6 +10,5 @@
|
||||
#define HAL_USE_ADC TRUE
|
||||
|
||||
#define HAL_USE_SPI TRUE
|
||||
#define SPI_USE_WAIT TRUE
|
||||
|
||||
#include_next <halconf.h>
|
||||
|
||||
@@ -21,7 +21,5 @@
|
||||
#define HAL_USE_SPI TRUE
|
||||
#define HAL_USE_GPT TRUE
|
||||
#define HAL_USE_DAC TRUE
|
||||
#define SPI_USE_WAIT TRUE
|
||||
#define SPI_SELECT_MODE SPI_SELECT_MODE_PAD
|
||||
|
||||
#include_next <halconf.h>
|
||||
|
||||
@@ -22,11 +22,6 @@
|
||||
# define HAL_USE_PWM TRUE
|
||||
#endif // defined(WS2812_PWM) || defined(BACKLIGHT_PWM)
|
||||
|
||||
#if HAL_USE_SPI == TRUE
|
||||
# define SPI_USE_WAIT TRUE
|
||||
# define SPI_SELECT_MODE SPI_SELECT_MODE_PAD
|
||||
#endif
|
||||
|
||||
#ifdef AUDIO_DRIVER_DAC
|
||||
# define HAL_USE_GPT TRUE
|
||||
# define HAL_USE_DAC TRUE
|
||||
|
||||
@@ -19,7 +19,5 @@
|
||||
#define HAL_USE_SERIAL TRUE
|
||||
#define HAL_USE_I2C TRUE
|
||||
#define HAL_USE_SPI TRUE
|
||||
#define SPI_USE_WAIT TRUE
|
||||
#define SPI_SELECT_MODE SPI_SELECT_MODE_PAD
|
||||
|
||||
#include_next <halconf.h>
|
||||
|
||||
Reference in New Issue
Block a user