mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-12-07 23:24:00 +08:00
Merge remote-tracking branch 'origin/master' into develop
Some checks are pending
Update API Data / api_data (push) Waiting to run
CLI CI / test (push) Waiting to run
Update feature branches after develop merge / feature_branch_update (riot) (push) Waiting to run
Update feature branches after develop merge / feature_branch_update (xap) (push) Waiting to run
Lint Format / lint (push) Waiting to run
Regenerate Files / regen (push) Waiting to run
Unit Tests / test (push) Waiting to run
Some checks are pending
Update API Data / api_data (push) Waiting to run
CLI CI / test (push) Waiting to run
Update feature branches after develop merge / feature_branch_update (riot) (push) Waiting to run
Update feature branches after develop merge / feature_branch_update (xap) (push) Waiting to run
Lint Format / lint (push) Waiting to run
Regenerate Files / regen (push) Waiting to run
Unit Tests / test (push) Waiting to run
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user