summaryrefslogtreecommitdiff
path: root/keyboards/iron180
diff options
context:
space:
mode:
Diffstat (limited to 'keyboards/iron180')
-rw-r--r--keyboards/iron180/iron180.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/keyboards/iron180/iron180.c b/keyboards/iron180/iron180.c
index 546ff7fc8f..402ee23e1f 100644
--- a/keyboards/iron180/iron180.c
+++ b/keyboards/iron180/iron180.c
@@ -18,8 +18,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "iron180.h"
#ifdef CAPSLOCK_BACKLIGHT
-bool led_update_kb(led_t led_state) {
- bool res = led_update_user(led_state);
+void led_update_ports(led_t led_state) {
if (!led_state.caps_lock){
if (is_backlight_breathing()) breathing_disable();
backlight_disable();
@@ -28,6 +27,5 @@ bool led_update_kb(led_t led_state) {
if (is_backlight_breathing()) breathing_enable();
backlight_enable();
}
- return res;
}
#endif