Remove old IS_LED_ON/OFF() macros (#21878)

This commit is contained in:
Ryan 2023-09-03 12:24:52 +10:00 committed by GitHub
parent c6b979b162
commit a74647c1fa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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