1
0
Fork 0

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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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