Remove spi config as it's default now from qmk main and move backlight config to halcyon.c as we always want that to happen (display on slave otherwise wouldn't turn off)
This commit is contained in:
parent
f81d2a9fa8
commit
aa7b5b89e1
6 changed files with 63 additions and 51 deletions
|
|
@ -3,34 +3,20 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#define SPLIT_POINTING_ENABLE
|
||||
|
||||
#define SPLIT_TRANSACTION_IDS_KB MODULE_SYNC
|
||||
|
||||
#include_next <mcuconf.h>
|
||||
|
||||
#undef RP_SPI_USE_SPI1
|
||||
#define RP_SPI_USE_SPI1 TRUE
|
||||
|
||||
#undef RP_PWM_USE_PWM5
|
||||
#define RP_PWM_USE_PWM5 TRUE
|
||||
|
||||
#define HAL_USE_PWM TRUE
|
||||
#define HAL_USE_SPI TRUE
|
||||
#define SPI_USE_WAIT TRUE
|
||||
#define SPI_SELECT_MODE SPI_SELECT_MODE_PAD
|
||||
|
||||
#define SPLIT_POINTING_ENABLE
|
||||
#define POINTING_DEVICE_COMBINED
|
||||
|
||||
// Blank SPI config, otherwise a SPI module won't work as slave
|
||||
#if !defined(HLC_SPI_DEVICE)
|
||||
#define SPI_SCK_PIN GP0 //NOT CONNECTED
|
||||
#define SPI_MOSI_PIN NO_PIN
|
||||
#define SPI_MISO_PIN NO_PIN
|
||||
|
||||
#undef SPI_SELECT_MODE
|
||||
#define SPI_SELECT_MODE SPI_SELECT_MODE_NONE
|
||||
#endif
|
||||
#define HLC_BACKLIGHT_TIMEOUT 120000
|
||||
|
||||
#if !defined(HLC_TFT_DISPLAY)
|
||||
#define BACKLIGHT_PIN NO_PIN
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue