mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-03-31 12:21:10 -04:00
Fix warnings in CorsairPeripheralV2Controller
This commit is contained in:
@@ -65,7 +65,7 @@ class CorsairPeripheralV2Controller
|
||||
{
|
||||
public:
|
||||
CorsairPeripheralV2Controller(hid_device* dev_handle, const char* path, std::string name, uint16_t pid);
|
||||
~CorsairPeripheralV2Controller();
|
||||
virtual ~CorsairPeripheralV2Controller();
|
||||
|
||||
std::string GetDeviceLocation();
|
||||
std::string GetFirmwareString();
|
||||
|
||||
@@ -103,5 +103,5 @@ const corsair_v2_device* corsair_v2_device_list_data[] =
|
||||
&mm700_device,
|
||||
};
|
||||
|
||||
const unsigned int CORSAIR_V2_DEVICE_COUNT = (sizeof(corsair_v2_device_list) / sizeof(corsair_v2_device_list[ 0 ]));
|
||||
const unsigned int CORSAIR_V2_DEVICE_COUNT = (sizeof(corsair_v2_device_list_data) / sizeof(corsair_v2_device_list_data[ 0 ]));
|
||||
const corsair_v2_device** corsair_v2_device_list = corsair_v2_device_list_data;
|
||||
Reference in New Issue
Block a user