Skip to content

Commit d9d3bc2

Browse files
Fix warning in JGINYUEInternalUSBV2Controller.h
1 parent 6336620 commit d9d3bc2

File tree

1 file changed

+7
-12
lines changed

1 file changed

+7
-12
lines changed

Controllers/JGINYUEInternalUSBV2Controller/JGINYUEInternalUSBV2Controller.h

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ enum
4343
JGINYUE_USB_V2_MODE_CYCLING_RAINING = 0x22,
4444
JGINYUE_USB_V2_MODE_MULTICOLOR_WATER_2 = 0x23,
4545
JGINYUE_USB_V2_MODE_MULTICOLOR_WATER_1 = 0x24,
46-
JGINYUE_USB_V2_MODE_HOURGLASS = 0x25
46+
JGINYUE_USB_V2_MODE_HOURGLASS = 0x25
4747
};
4848

4949
enum
@@ -79,7 +79,7 @@ enum
7979

8080
struct AreaConfigurationV2
8181
{
82-
unsigned char Area_ID;
82+
unsigned char Area_ID;
8383
unsigned char Max_LED_numbers;
8484
unsigned char User_LED_numbers;
8585
unsigned char Direction;
@@ -120,23 +120,18 @@ class JGINYUEInternalUSBV2Controller
120120
unsigned char num_LEDs,
121121
unsigned char Area
122122
);
123-
123+
124124
AreaConfigurationV2 device_config[8];
125125
//TODO,When the perzone mode is supported, these parameters will be used to download device configuartion from the device
126126
AreaConfigurationV2 device_config_Global;
127127
//TODO,Can sync its data to other zones,will be used once the perzone mode is supported
128-
bool support_Global_zone;
129-
128+
bool support_Global_zone;
129+
130130
private:
131131
void Init_device();
132132
void Init_Zone(int zone);
133-
unsigned char ZoneCount;
134-
unsigned char SKUID;
135-
unsigned char Major_version;
136-
unsigned char Minor_version;
137-
138-
139-
unsigned char FPS; //0x00 = 120FPS, 0x01 = 60FPS
133+
unsigned char ZoneCount;
134+
140135
hid_device* jy_hid_interface;
141136
serial_port* jy_cdc_interface;
142137
std::string location;

0 commit comments

Comments
 (0)