From a00bd421acc0fc11588f0494be2bb532dc93d904 Mon Sep 17 00:00:00 2001 From: William Wilgus Date: Fri, 30 Dec 2022 19:40:47 -0500 Subject: clean up button.c optimize !filter_first_keypress do a bit of cleanup in button_tick move filter_first_keypress to a function pointer Change-Id: Iefb05c1a182c1e15cfb5bca8e2ef31a710d15eba --- firmware/export/backlight.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'firmware/export') diff --git a/firmware/export/backlight.h b/firmware/export/backlight.h index 6d029790b3..f4ce5d8568 100644 --- a/firmware/export/backlight.h +++ b/firmware/export/backlight.h @@ -98,16 +98,12 @@ extern int backlight_brightness; void backlight_set_brightness(int val); #endif /* HAVE_BACKLIGHT_BRIGHTNESS */ -#ifdef HAVE_BUTTONLIGHT_BRIGHTNESS void buttonlight_set_brightness(int val); -#endif /* HAVE_BUTTONLIGHT_BRIGHTNESS */ -#ifdef HAVE_BUTTON_LIGHT void buttonlight_on_ignore(bool value, int timeout); void buttonlight_on(void); void buttonlight_off(void); void buttonlight_set_timeout(int value); -#endif /* Private API for use in target tree backlight code only */ #ifdef HAVE_BUTTON_LIGHT -- cgit v1.2.3