~ruther/qmk_firmware

968cc1fe7b5c99f85d2888071fed8511125ebe9b — Joel Challis 2 years ago 043d8e1
Relocate diode direction definitions (#19715)

2 files changed, 4 insertions(+), 4 deletions(-)

M quantum/config_common.h
M quantum/matrix.h
M quantum/config_common.h => quantum/config_common.h +0 -4
@@ 20,10 20,6 @@
#    include "pin_defs.h"
#endif

/* diode directions */
#define COL2ROW 0
#define ROW2COL 1

#ifdef AUDIO_ENABLE
#    include "song_list.h"
#endif

M quantum/matrix.h => quantum/matrix.h +4 -0
@@ 20,6 20,10 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
#include <stdint.h>
#include <stdbool.h>

/* diode directions */
#define COL2ROW 0
#define ROW2COL 1

#if (MATRIX_COLS <= 8)
typedef uint8_t matrix_row_t;
#elif (MATRIX_COLS <= 16)