forked from Hay1tsme/segatools
board: Naming convention change for "sg" bus
This commit is contained in:
@ -10,13 +10,13 @@ enum {
|
||||
SG_RGB_CMD_GET_INFO = 0xF0,
|
||||
};
|
||||
|
||||
struct sg_led_resp_reset {
|
||||
struct sg_resp_header resp;
|
||||
struct sg_led_res_reset {
|
||||
struct sg_res_header res;
|
||||
uint8_t payload;
|
||||
};
|
||||
|
||||
struct sg_led_resp_get_info {
|
||||
struct sg_resp_header resp;
|
||||
struct sg_led_res_get_info {
|
||||
struct sg_res_header res;
|
||||
uint8_t payload[9];
|
||||
};
|
||||
|
||||
@ -31,9 +31,9 @@ union sg_led_req_any {
|
||||
struct sg_led_req_set_color set_color;
|
||||
};
|
||||
|
||||
union sg_led_resp_any {
|
||||
union sg_led_res_any {
|
||||
uint8_t bytes[256];
|
||||
struct sg_resp_header simple;
|
||||
struct sg_led_resp_reset reset;
|
||||
struct sg_led_resp_get_info get_info;
|
||||
struct sg_res_header simple;
|
||||
struct sg_led_res_reset reset;
|
||||
struct sg_led_res_get_info get_info;
|
||||
};
|
||||
|
Reference in New Issue
Block a user