/** * Set the device status LEDs * * @param option * the LED status to set */ public synchronized void setLED(KinectLEDMode option) { if (device == null) return; final ValuedEnum<freenect_led_options> o = freenect_led_options.valueOf(option.name()); libfreenectLibrary.freenect_set_led(device, o); }
/** * Set the device status LEDs * * @param option * the LED status to set */ public synchronized void setLED(KinectLEDMode option) { if (device == null) return; final ValuedEnum<freenect_led_options> o = freenect_led_options.valueOf(option.name()); libfreenectLibrary.freenect_set_led(device, o); }