aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrashna Jaelre <drashna@live.com>2021-07-22 00:53:18 -0700
committerGitHub <noreply@github.com>2021-07-22 00:53:18 -0700
commit8158473464935ff51a364450898ba78b6206c073 (patch)
tree733c219a1dd4e0d3a116cd046b2b4b00430b8d29
parent336c8d3efeaf709f8d80033976141968f478fc59 (diff)
downloadqmk_firmware-8158473464935ff51a364450898ba78b6206c073.tar.gz
qmk_firmware-8158473464935ff51a364450898ba78b6206c073.zip
[Keyboard] Fix clawsome/hatchback and reviung5 compile issues (#13607)
-rw-r--r--keyboards/clawsome/hatchback/hatchback.h (renamed from keyboards/clawsome/hatchback/hatcback.h)2
-rw-r--r--keyboards/reviung5/config.h33
2 files changed, 20 insertions, 15 deletions
diff --git a/keyboards/clawsome/hatchback/hatcback.h b/keyboards/clawsome/hatchback/hatchback.h
index b30eda09f..b55f6adc2 100644
--- a/keyboards/clawsome/hatchback/hatcback.h
+++ b/keyboards/clawsome/hatchback/hatchback.h
@@ -18,6 +18,7 @@
18 18
19#include "quantum.h" 19#include "quantum.h"
20 20
21// clang-format off
21#define LAYOUT( \ 22#define LAYOUT( \
22 K00, K01, K11, K02, K12, K03, K13, K04, K14, K05, K15, K06, K16, K07, K18, K09, \ 23 K00, K01, K11, K02, K12, K03, K13, K04, K14, K05, K15, K06, K16, K07, K18, K09, \
23 K20, K30, K21, K31, K22, K32, K23, K33, K24, K34, K25, K35, K26, K36, K27, K38, K29, \ 24 K20, K30, K21, K31, K22, K32, K23, K33, K24, K34, K25, K35, K26, K36, K27, K38, K29, \
@@ -39,3 +40,4 @@
39 { KA0, KA1, KA2, KA3, KA4, KA5, KA6, KA7, KC_NO, KA9 }, \ 40 { KA0, KA1, KA2, KA3, KA4, KA5, KA6, KA7, KC_NO, KA9 }, \
40 { KB0, KC_NO, KC_NO, KC_NO, KC_NO, KB5, KB6, KC_NO, KB8, KC_NO }, \ 41 { KB0, KC_NO, KC_NO, KC_NO, KC_NO, KB5, KB6, KC_NO, KB8, KC_NO }, \
41} 42}
43// clang-format on
diff --git a/keyboards/reviung5/config.h b/keyboards/reviung5/config.h
index 493cc6af9..b06c5797f 100644
--- a/keyboards/reviung5/config.h
+++ b/keyboards/reviung5/config.h
@@ -27,8 +27,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
27#define PRODUCT reviung5 27#define PRODUCT reviung5
28 28
29/* key matrix size */ 29/* key matrix size */
30#define MATRIX_ROWS 1 30#define MATRIX_ROWS 1
31#define MATRIX_COLS 5 31#define MATRIX_COLS 5
32 32
33/* 33/*
34 * Keyboard Matrix Assignments 34 * Keyboard Matrix Assignments
@@ -40,28 +40,31 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) 40 * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode)
41 * 41 *
42 */ 42 */
43#define MATRIX_ROW_PINS { F4 } 43#define MATRIX_ROW_PINS \
44#define MATRIX_COL_PINS { D4, C6, D7, E6, B4 } 44 { F4 }
45#define MATRIX_COL_PINS \
46 { D4, C6, D7, E6, B4 }
45#define UNUSED_PINS 47#define UNUSED_PINS
46 48
47/* COL2ROW, ROW2COL */ 49/* COL2ROW, ROW2COL */
48#define DIODE_DIRECTION COL2ROW 50#define DIODE_DIRECTION COL2ROW
49 51
50/* Encoder */ 52/* Encoder */
51#define ENCODERS_PAD_A { D0 } 53#define ENCODERS_PAD_A \
52#define ENCODERS_PAD_B { D1 } 54 { D0 }
53 55#define ENCODERS_PAD_B \
56 { D1 }
54 57
55#define RGB_DI_PIN D3 58#define RGB_DI_PIN D3
56#ifdef RGB_DI_PIN 59#ifdef RGB_DI_PIN
57# define RGBLED_NUM 4 60# define RGBLED_NUM 4
58# define RGBLIGHT_HUE_STEP 16 61# define RGBLIGHT_HUE_STEP 16
59# define RGBLIGHT_SAT_STEP 16 62# define RGBLIGHT_SAT_STEP 16
60# define RGBLIGHT_VAL_STEP 16 63# define RGBLIGHT_VAL_STEP 16
61# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ 64# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */
62# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ 65# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */
63 /*== all animations enable ==*/ 66/*== all animations enable ==*/
64# define RGBLIGHT_ANIMATIONS 67# define RGBLIGHT_ANIMATIONS
65/*== or choose animations ==*/ 68/*== or choose animations ==*/
66//# define RGBLIGHT_EFFECT_BREATHING 69//# define RGBLIGHT_EFFECT_BREATHING
67//# define RGBLIGHT_EFFECT_RAINBOW_MOOD 70//# define RGBLIGHT_EFFECT_RAINBOW_MOOD