Skip to content

Commit

Permalink
Remove old IS_LED_ON/OFF() macros (qmk#21878)
Browse files Browse the repository at this point in the history
  • Loading branch information
fauxpark committed Sep 3, 2023
1 parent c6b979b commit a74647c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tmk_core/protocol/host.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ along with this program. If not, see <http:https://www.gnu.org/licenses/>.
#include "host_driver.h"
#include "led.h"

#define IS_LED_ON(leds, led_name) ((leds) & (1 << (led_name)))
#define IS_LED_OFF(leds, led_name) (~(leds) & (1 << (led_name)))

#ifdef __cplusplus
extern "C" {
#endif
Expand Down

0 comments on commit a74647c

Please sign in to comment.