Remove old `IS_LED_ON/OFF()` macros (#21878)
parent
c6b979b162
commit
a74647c1fa
|
@ -23,9 +23,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
#include "host_driver.h"
|
#include "host_driver.h"
|
||||||
#include "led.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
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue