Remove IS_HOST_LED_ON and migrate usages (#19753)

This commit is contained in:
Ryan authored and GitHub committed 2023-02-06 02:36:09 +00:00
1 parent d5e622b979
commit f0618a1d53
37 files changed
+94 -80

No files matched your search

-3
View File
@@ -26,9 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#define IS_LED_ON(leds, led_name) ((leds) & (1 << (led_name)))
#define IS_LED_OFF(leds, led_name) (~(leds) & (1 << (led_name)))
#define IS_HOST_LED_ON(led_name) IS_LED_ON(host_keyboard_leds(), led_name)
#define IS_HOST_LED_OFF(led_name) IS_LED_OFF(host_keyboard_leds(), led_name)
#ifdef __cplusplus
extern "C" {
#endif