Strip out more of config_common (#19722)

This commit is contained in:
Joel Challis 2023-01-30 20:40:12 +00:00 committed by GitHub
parent f6dd8dea2e
commit d84a7351ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 2 additions and 12 deletions

View File

@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#include "config_common.h"
#define MATRIX_ROW_PINS { A2, A14, A15, B3, B4, B5 } #define MATRIX_ROW_PINS { A2, A14, A15, B3, B4, B5 }
#define MATRIX_COL_PINS { A1, B9, A3, A4, A5, A6, A7, B0, B1, B2, B10, B11, B12, B13, B14, B15, A8 } #define MATRIX_COL_PINS { A1, B9, A3, A4, A5, A6, A7, B0, B1, B2, B10, B11, B12, B13, B14, B15, A8 }

View File

@ -19,8 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once #pragma once
#include "config_common.h"
/* key matrix size */ /* key matrix size */
#define MATRIX_ROWS 2 #define MATRIX_ROWS 2
#define MATRIX_COLS 3 #define MATRIX_COLS 3

View File

@ -16,10 +16,4 @@
#pragma once #pragma once
#ifndef __ASSEMBLER__ #pragma message("'config_common.h' should no longer be included!")
# include "pin_defs.h"
#endif
#ifdef AUDIO_ENABLE
# include "song_list.h"
#endif

View File

@ -42,7 +42,6 @@
#include "bootmagic.h" #include "bootmagic.h"
#include "timer.h" #include "timer.h"
#include "sync_timer.h" #include "sync_timer.h"
#include "config_common.h"
#include "gpio.h" #include "gpio.h"
#include "atomic_util.h" #include "atomic_util.h"
#include "led.h" #include "led.h"
@ -75,6 +74,7 @@ extern layer_state_t layer_state;
#ifdef AUDIO_ENABLE #ifdef AUDIO_ENABLE
# include "audio.h" # include "audio.h"
# include "process_audio.h" # include "process_audio.h"
# include "song_list.h"
# ifdef AUDIO_CLICKY # ifdef AUDIO_CLICKY
# include "process_clicky.h" # include "process_clicky.h"
# endif # endif