Skip to content

Commit

Permalink
Satisfaction75 post merge updates (#23158)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored Feb 27, 2024
1 parent bafbca3 commit b346215
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 104 deletions.
4 changes: 3 additions & 1 deletion keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ void board_init(void) {
SYSCFG->CFGR1 &= ~(SYSCFG_CFGR1_SPI2_DMA_RMP);
}

void keyboard_post_init_kb(){
void keyboard_post_init_kb(void) {
/*
This is a workaround to some really weird behavior
Without this code, the OLED will turn on, but not when you initially plug the keyboard in.
Expand All @@ -63,6 +63,8 @@ void keyboard_post_init_kb(){
oled_init(OLED_ROTATION_0);
}
#endif

keyboard_post_init_user();
}

#ifdef VIA_ENABLE
Expand Down
8 changes: 1 addition & 7 deletions keyboards/cannonkeys/lib/satisfaction75/satisfaction_core.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ enum encoder_modes {
};

enum custom_encoder_behavior {
ENC_CUSTOM_CW = 0,
ENC_CUSTOM_CW,
ENC_CUSTOM_CCW,
ENC_CUSTOM_PRESS
};
Expand Down Expand Up @@ -77,12 +77,6 @@ extern int8_t month_config;
extern int8_t day_config;
extern uint8_t previous_encoder_mode;

// Backlighting
#ifdef BACKLIGHT_ENABLE
extern backlight_config_t kb_backlight_config;
extern bool kb_backlight_breathing;
#endif

void pre_encoder_mode_change(void);
void post_encoder_mode_change(void);
void change_encoder_mode(bool negative);
Expand Down
2 changes: 0 additions & 2 deletions keyboards/cannonkeys/satisfaction75/halconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,5 @@

#define HAL_USE_RTC TRUE

#define HAL_USE_SPI TRUE

#include_next <halconf.h>

1 change: 0 additions & 1 deletion keyboards/cannonkeys/satisfaction75/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
"maintainer": "awkannan",
"backlight": {
"breathing": true,
"breathing_period": 6,
"levels": 24,
"pin": "A6"
},
Expand Down
4 changes: 0 additions & 4 deletions keyboards/cannonkeys/satisfaction75/mcuconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,3 @@

#undef STM32_PWM_USE_TIM3
#define STM32_PWM_USE_TIM3 TRUE

#undef STM32_SPI_USE_SPI2
#define STM32_SPI_USE_SPI2 TRUE

This file was deleted.

37 changes: 0 additions & 37 deletions keyboards/cannonkeys/satisfaction75/rev1/keymaps/boy_314/keymap.c

This file was deleted.

This file was deleted.

This file was deleted.

37 changes: 0 additions & 37 deletions keyboards/cannonkeys/satisfaction75/rev1/keymaps/jae/keymap.c

This file was deleted.

2 changes: 0 additions & 2 deletions keyboards/cannonkeys/satisfaction75_hs/halconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,5 @@

#define HAL_USE_RTC TRUE

#define HAL_USE_SPI TRUE

#include_next <halconf.h>

4 changes: 0 additions & 4 deletions keyboards/cannonkeys/satisfaction75_hs/mcuconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,3 @@

#undef STM32_I2C_USE_I2C1
#define STM32_I2C_USE_I2C1 TRUE

#undef STM32_SPI_USE_SPI2
#define STM32_SPI_USE_SPI2 TRUE

0 comments on commit b346215

Please sign in to comment.