Print integer representation of LED state when setting it

reverse-scroll
nirenjan 2021-09-13 15:49:20 -07:00
parent 5fcac86999
commit f2884c57b7
1 changed files with 2 additions and 2 deletions

View File

@ -19,9 +19,9 @@
#include "x52d_device.h"
#define SET_LED_STATE(led, state) \
PINELOG_TRACE("Setting LED %s state to %s", \
PINELOG_TRACE("Setting LED %s state to %s (%d)", \
libx52_led_id_to_str(LIBX52_LED_ ## led), \
libx52_led_state_to_str(state)); \
libx52_led_state_to_str(state), state); \
x52d_dev_set_led_state(LIBX52_LED_ ## led, state);
void x52d_cfg_set_LED_Fire(libx52_led_state state)