diff --git a/keyboard/gh60/backlight.c b/keyboard/gh60/backlight.c
index 2cf129c3..06af677c 100644
--- a/keyboard/gh60/backlight.c
+++ b/keyboard/gh60/backlight.c
@@ -52,5 +52,14 @@ void backlight_set(uint8_t level)
}
}
#else
-void backlight_set(uint8_t level) {}
+void backlight_set(uint8_t level)
+{
+ if (level > 0) {
+ DDRF |= (1<.
#define MATRIX_ROWS 5
#define MATRIX_COLS 14
+/* keymap in eeprom */
+#define FN_ACTIONS_COUNT 32
+#define KEYMAPS_COUNT 8
+
/* define if matrix has ghost */
//#define MATRIX_HAS_GHOST
@@ -38,7 +42,11 @@ along with this program. If not, see .
#define DEBOUNCE 5
/* number of backlight levels */
+#ifdef GH60_REV_CHN
#define BACKLIGHT_LEVELS 3
+#else
+#define BACKLIGHT_LEVELS 1
+#endif
/* Mechanical locking support. Use KC_LCAP, KC_LNUM or KC_LSCR instead in keymap */
#define LOCKING_SUPPORT_ENABLE
diff --git a/keyboard/gh60/matrix.c b/keyboard/gh60/matrix.c
index 9a65a236..ed3270f2 100644
--- a/keyboard/gh60/matrix.c
+++ b/keyboard/gh60/matrix.c
@@ -57,6 +57,10 @@ uint8_t matrix_cols(void)
void matrix_init(void)
{
+ // disable JTAG
+ MCUCR = (1<