| 258 | |
| 259 | #define LedSettingResponseSize 0 |
| 260 | struct LedSettingCommand : public libfreenect2::protocol::Command<KCMD_LED_SETTING, LedSettingResponseSize, LedSettingResponseSize, 4> |
| 261 | { |
| 262 | LedSettingCommand(LedSettings led) |
| 263 | : Command<KCMD_LED_SETTING, LedSettingResponseSize, LedSettingResponseSize, 4>(0) // seq always zero |
| 264 | { |
| 265 | memcpy(this->data_.parameters, &led, sizeof(led)); |
| 266 | } |
| 267 | }; |
| 268 | |
| 269 | |
| 270 | } /* namespace protocol */ |