From 47b99fe0a4e0c8937929bdae8df4712187d9f16e Mon Sep 17 00:00:00 2001 From: mtei <2170248+mtei@users.noreply.github.com> Date: Thu, 7 Mar 2019 14:14:40 +0900 Subject: [PATCH] update rgblight.c --- quantum/rgblight.c | 1 - quantum/rgblight.h | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) 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