diff options
-rw-r--r-- | devices/led.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/devices/led.c b/devices/led.c index becf30e..faaa2fd 100644 --- a/devices/led.c +++ b/devices/led.c @@ -39,7 +39,11 @@ static int led_set_prop(int prop, int val) case PROP_LED_BRIGHTNESS: return PLUGIN_SET(leds_torch_brightness, val); case PROP_LED_IR_COMMAND: +#if __WORDSIZE == 64 + return -ENOTSUP; +#else return PLUGIN_SET(irled_control, (char*)val); +#endif case PROP_LED_HARDKEY: return PLUGIN_SET(hardkey_backlight, val); } |