Skip to content

Commit

Permalink
Strip out more of config_common (#19722)
Browse files Browse the repository at this point in the history
  • Loading branch information
zvecr authored Jan 30, 2023
1 parent f6dd8de commit d84a735
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
2 changes: 0 additions & 2 deletions keyboards/baion_808/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#pragma once

#include "config_common.h"

#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 }

Expand Down
2 changes: 0 additions & 2 deletions keyboards/nullbitsco/scramble/v2/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.

#pragma once

#include "config_common.h"

/* key matrix size */
#define MATRIX_ROWS 2
#define MATRIX_COLS 3
Expand Down
8 changes: 1 addition & 7 deletions quantum/config_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,4 @@

#pragma once

#ifndef __ASSEMBLER__
# include "pin_defs.h"
#endif

#ifdef AUDIO_ENABLE
# include "song_list.h"
#endif
#pragma message("'config_common.h' should no longer be included!")
2 changes: 1 addition & 1 deletion quantum/quantum.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
#include "bootmagic.h"
#include "timer.h"
#include "sync_timer.h"
#include "config_common.h"
#include "gpio.h"
#include "atomic_util.h"
#include "led.h"
Expand Down Expand Up @@ -75,6 +74,7 @@ extern layer_state_t layer_state;
#ifdef AUDIO_ENABLE
# include "audio.h"
# include "process_audio.h"
# include "song_list.h"
# ifdef AUDIO_CLICKY
# include "process_clicky.h"
# endif
Expand Down

0 comments on commit d84a735

Please sign in to comment.