diff options
author | Drashna Jaelre <drashna@live.com> | 2021-07-22 00:53:18 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-22 00:53:18 -0700 |
commit | 8158473464935ff51a364450898ba78b6206c073 (patch) | |
tree | 733c219a1dd4e0d3a116cd046b2b4b00430b8d29 /keyboards/reviung5 | |
parent | 336c8d3efeaf709f8d80033976141968f478fc59 (diff) |
[Keyboard] Fix clawsome/hatchback and reviung5 compile issues (#13607)
Diffstat (limited to 'keyboards/reviung5')
-rw-r--r-- | keyboards/reviung5/config.h | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/keyboards/reviung5/config.h b/keyboards/reviung5/config.h index 493cc6af99..b06c5797fd 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/>. #define PRODUCT reviung5 /* key matrix size */ -#define MATRIX_ROWS 1 -#define MATRIX_COLS 5 +#define MATRIX_ROWS 1 +#define MATRIX_COLS 5 /* * Keyboard Matrix Assignments @@ -40,28 +40,31 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. * ROW2COL = ROW = Anode (+), COL = Cathode (-, marked on diode) * */ -#define MATRIX_ROW_PINS { F4 } -#define MATRIX_COL_PINS { D4, C6, D7, E6, B4 } +#define MATRIX_ROW_PINS \ + { F4 } +#define MATRIX_COL_PINS \ + { D4, C6, D7, E6, B4 } #define UNUSED_PINS /* COL2ROW, ROW2COL */ #define DIODE_DIRECTION COL2ROW /* Encoder */ -#define ENCODERS_PAD_A { D0 } -#define ENCODERS_PAD_B { D1 } - +#define ENCODERS_PAD_A \ + { D0 } +#define ENCODERS_PAD_B \ + { D1 } #define RGB_DI_PIN D3 #ifdef RGB_DI_PIN -# define RGBLED_NUM 4 -# define RGBLIGHT_HUE_STEP 16 -# define RGBLIGHT_SAT_STEP 16 -# define RGBLIGHT_VAL_STEP 16 -# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ -# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ - /*== all animations enable ==*/ -# define RGBLIGHT_ANIMATIONS +# define RGBLED_NUM 4 +# define RGBLIGHT_HUE_STEP 16 +# define RGBLIGHT_SAT_STEP 16 +# define RGBLIGHT_VAL_STEP 16 +# define RGBLIGHT_LIMIT_VAL 255 /* The maximum brightness level */ +# define RGBLIGHT_SLEEP /* If defined, the RGB lighting will be switched off when the host goes to sleep */ +/*== all animations enable ==*/ +# define RGBLIGHT_ANIMATIONS /*== or choose animations ==*/ //# define RGBLIGHT_EFFECT_BREATHING //# define RGBLIGHT_EFFECT_RAINBOW_MOOD |