diff --git a/quantum/rgblight.c b/quantum/rgblight.c index 3fcc348711..bac9af2f08 100644 --- a/quantum/rgblight.c +++ b/quantum/rgblight.c @@ -161,7 +161,6 @@ void rgblight_check_config(void) { #define RGBLIGHT_SPLIT_SET_CHANGE_TIMER_ENABLE rgblight_status.change_flags |= RGBLIGHT_STATUS_CHANGE_TIMER /* for split keyboard slave side */ -/* Call from keyboard individual code. */ void rgblight_update_sync(rgblight_config_t *config, rgblight_status_t *status, bool write_to_eeprom) { if( status->change_flags & RGBLIGHT_STATUS_CHANGE_MODE ) { if (config->enable) { diff --git a/quantum/rgblight.h b/quantum/rgblight.h index 5815999642..7c42d98d4e 100644 --- a/quantum/rgblight.h +++ b/quantum/rgblight.h @@ -177,6 +177,9 @@ typedef struct _rgblight_status_t { #define RGBLIGHT_STATUS_CHANGE_HSVS (1<<1) #define RGBLIGHT_STATUS_CHANGE_TIMER (1<<2) + extern rgblight_config_t rgblight_config; + extern rgblight_status_t rgblight_status; + /* for split keyboard slave side */ void rgblight_update_sync(rgblight_config_t *config, rgblight_status_t *status, bool write_to_eeprom); #endif