forked from mirror/qmk_firmware
[CI] Format code according to conventions (#25827)
Format code according to conventions
This commit is contained in:
@@ -7,10 +7,8 @@
|
||||
#define MATRIX_COLS 1
|
||||
|
||||
/* Here, "pins" from 0 to 31 are allowed. */
|
||||
#define ENCODER_A_PINS \
|
||||
{ 0 }
|
||||
#define ENCODER_B_PINS \
|
||||
{ 1 }
|
||||
#define ENCODER_A_PINS {0}
|
||||
#define ENCODER_B_PINS {1}
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -7,14 +7,10 @@
|
||||
#define MATRIX_COLS 1
|
||||
|
||||
/* Here, "pins" from 0 to 31 are allowed. */
|
||||
#define ENCODER_A_PINS \
|
||||
{ 0, 2 }
|
||||
#define ENCODER_B_PINS \
|
||||
{ 1, 3 }
|
||||
#define ENCODER_A_PINS_RIGHT \
|
||||
{ 4, 6 }
|
||||
#define ENCODER_B_PINS_RIGHT \
|
||||
{ 5, 7 }
|
||||
#define ENCODER_A_PINS {0, 2}
|
||||
#define ENCODER_B_PINS {1, 3}
|
||||
#define ENCODER_A_PINS_RIGHT {4, 6}
|
||||
#define ENCODER_B_PINS_RIGHT {5, 7}
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -7,14 +7,10 @@
|
||||
#define MATRIX_COLS 1
|
||||
|
||||
/* Here, "pins" from 0 to 31 are allowed. */
|
||||
#define ENCODER_A_PINS \
|
||||
{ 0, 2, 4 }
|
||||
#define ENCODER_B_PINS \
|
||||
{ 1, 3, 5 }
|
||||
#define ENCODER_A_PINS_RIGHT \
|
||||
{ 6, 8 }
|
||||
#define ENCODER_B_PINS_RIGHT \
|
||||
{ 7, 9 }
|
||||
#define ENCODER_A_PINS {0, 2, 4}
|
||||
#define ENCODER_B_PINS {1, 3, 5}
|
||||
#define ENCODER_A_PINS_RIGHT {6, 8}
|
||||
#define ENCODER_B_PINS_RIGHT {7, 9}
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -7,14 +7,10 @@
|
||||
#define MATRIX_COLS 1
|
||||
|
||||
/* Here, "pins" from 0 to 31 are allowed. */
|
||||
#define ENCODER_A_PINS \
|
||||
{ 0, 2 }
|
||||
#define ENCODER_B_PINS \
|
||||
{ 1, 3 }
|
||||
#define ENCODER_A_PINS_RIGHT \
|
||||
{ 4, 6, 8 }
|
||||
#define ENCODER_B_PINS_RIGHT \
|
||||
{ 5, 7, 9 }
|
||||
#define ENCODER_A_PINS {0, 2}
|
||||
#define ENCODER_B_PINS {1, 3}
|
||||
#define ENCODER_A_PINS_RIGHT {4, 6, 8}
|
||||
#define ENCODER_B_PINS_RIGHT {5, 7, 9}
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
/* Here, "pins" from 0 to 31 are allowed. */
|
||||
#define ENCODER_A_PINS \
|
||||
{}
|
||||
{ \
|
||||
}
|
||||
#define ENCODER_B_PINS \
|
||||
{}
|
||||
#define ENCODER_A_PINS_RIGHT \
|
||||
{ 0, 2 }
|
||||
#define ENCODER_B_PINS_RIGHT \
|
||||
{ 1, 3 }
|
||||
{ \
|
||||
}
|
||||
#define ENCODER_A_PINS_RIGHT {0, 2}
|
||||
#define ENCODER_B_PINS_RIGHT {1, 3}
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
#define MATRIX_COLS 1
|
||||
|
||||
/* Here, "pins" from 0 to 31 are allowed. */
|
||||
#define ENCODER_A_PINS \
|
||||
{ 0, 2 }
|
||||
#define ENCODER_B_PINS \
|
||||
{ 1, 3 }
|
||||
#define ENCODER_A_PINS {0, 2}
|
||||
#define ENCODER_B_PINS {1, 3}
|
||||
#define ENCODER_A_PINS_RIGHT \
|
||||
{}
|
||||
{ \
|
||||
}
|
||||
#define ENCODER_B_PINS_RIGHT \
|
||||
{}
|
||||
{ \
|
||||
}
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
@@ -7,14 +7,10 @@
|
||||
#define MATRIX_COLS 1
|
||||
|
||||
/* Here, "pins" from 0 to 31 are allowed. */
|
||||
#define ENCODER_A_PINS \
|
||||
{ 0, 2 }
|
||||
#define ENCODER_B_PINS \
|
||||
{ 1, 3 }
|
||||
#define ENCODER_A_PINS_RIGHT \
|
||||
{ 4, 6 }
|
||||
#define ENCODER_B_PINS_RIGHT \
|
||||
{ 5, 7 }
|
||||
#define ENCODER_A_PINS {0, 2}
|
||||
#define ENCODER_B_PINS {1, 3}
|
||||
#define ENCODER_A_PINS_RIGHT {4, 6}
|
||||
#define ENCODER_B_PINS_RIGHT {5, 7}
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
||||
Reference in New Issue
Block a user