Remove IS_HOST_LED_ON and migrate usages (#19753)

This commit is contained in:
Ryan
2023-02-06 13:36:09 +11:00
committed by GitHub
parent d5e622b979
commit f0618a1d53
37 changed files with 94 additions and 80 deletions

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