Searched refs:SET_LED (Results 1 – 1 of 1) sorted by relevance
22 #define SET_LED 1 macro104 printf("LED %s\n", frame.data[0] == SET_LED ? "ON" : "OFF"); in change_led_work_handler()106 gpio_pin_set(led.port, led.pin, frame.data[0] == SET_LED ? 1 : 0); in change_led_work_handler()285 change_led_frame.data[0] = toggle++ & 0x01 ? SET_LED : RESET_LED; in main()