diff options
-rw-r--r-- | board/redrix/board.h | 2 | ||||
-rw-r--r-- | board/redrix/pwm.c | 7 |
2 files changed, 0 insertions, 9 deletions
diff --git a/board/redrix/board.h b/board/redrix/board.h index 7d455f72cb..c8d64702f3 100644 --- a/board/redrix/board.h +++ b/board/redrix/board.h @@ -123,8 +123,6 @@ #define GPIO_VOLUME_UP_L GPIO_EC_VOLUP_BTN_ODL #define GPIO_WP_L GPIO_EC_WP_ODL -#define GPIO_ID_1_EC_KB_BL_EN GPIO_EC_BATT_PRES_ODL - #define GPIO_WLC_NRST_CONN GPIO_PEN_RST_L /* System has back-lit keyboard */ diff --git a/board/redrix/pwm.c b/board/redrix/pwm.c index d1e1003faf..8e3d9c4022 100644 --- a/board/redrix/pwm.c +++ b/board/redrix/pwm.c @@ -34,10 +34,3 @@ const struct pwm_t pwm_channels[] = { }, }; BUILD_ASSERT(ARRAY_SIZE(pwm_channels) == PWM_CH_COUNT); - -static void board_pwm_init(void) -{ - pwm_enable(PWM_CH_KBLIGHT, 1); - pwm_set_duty(PWM_CH_KBLIGHT, 50); -} -DECLARE_HOOK(HOOK_INIT, board_pwm_init, HOOK_PRIO_DEFAULT); |