Unify LED command name for Diva/Chunithm slider

This commit is contained in:
dogtopus 2019-12-29 22:48:35 -04:00
parent 300338220a
commit 356e8ae20c
3 changed files with 3 additions and 4 deletions

View File

@ -4,8 +4,7 @@
enum {
SLIDER_CMD_AUTO_SCAN = 0x01,
SLIDER_CMD_SET_LED_CHUNI = 0x02,
SLIDER_CMD_SET_LED_DIVA = 0x02,
SLIDER_CMD_SET_LED = 0x02,
SLIDER_CMD_AUTO_SCAN_START = 0x03,
SLIDER_CMD_AUTO_SCAN_STOP = 0x04,
SLIDER_CMD_DIVA_UNK_09 = 0x09,

View File

@ -139,7 +139,7 @@ static HRESULT slider_req_dispatch(const union slider_req_any *req)
case SLIDER_CMD_GET_BOARD_INFO:
return slider_req_get_board_info();
case SLIDER_CMD_SET_LED_CHUNI:
case SLIDER_CMD_SET_LED:
return slider_req_set_led(&req->set_led);
case SLIDER_CMD_AUTO_SCAN_START:

View File

@ -145,7 +145,7 @@ static HRESULT slider_req_dispatch(const union slider_req_any *req)
case SLIDER_CMD_AUTO_SCAN_STOP:
return slider_req_auto_scan_stop();
case SLIDER_CMD_SET_LED_DIVA:
case SLIDER_CMD_SET_LED:
return slider_req_set_led(&req->set_led);
case SLIDER_CMD_DIVA_UNK_09: