mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-02-23 07:17:42 +00:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
e6a08dbc64
@ -8,3 +8,7 @@
|
||||
|
||||
#define BACKLIGHT_PWM_DRIVER PWMD5
|
||||
#define BACKLIGHT_PWM_CHANNEL 1
|
||||
|
||||
#define SOLENOID_PIN B12
|
||||
#define SOLENOID_PINS { B12, B13, B14, B15 }
|
||||
#define SOLENOID_PINS_ACTIVE_STATE { high, high, low }
|
||||
|
1
keyboards/handwired/onekey/at_start_f415/rules.mk
Normal file
1
keyboards/handwired/onekey/at_start_f415/rules.mk
Normal file
@ -0,0 +1 @@
|
||||
MCU_LDSCRIPT = AT32F415xC
|
@ -249,11 +249,11 @@ bool spi_start_extended(spi_start_config_t *start_config) {
|
||||
#elif defined(AT32F415)
|
||||
spiConfig.ctrl1 = 0;
|
||||
|
||||
if (lsbFirst) {
|
||||
if (start_config->lsb_first) {
|
||||
spiConfig.ctrl1 |= SPI_CTRL1_LTF;
|
||||
}
|
||||
|
||||
switch (mode) {
|
||||
switch (start_config->mode) {
|
||||
case 0:
|
||||
break;
|
||||
case 1:
|
||||
|
Loading…
Reference in New Issue
Block a user