mirror of
https://github.com/libratbag/libratbag.git
synced 2026-11-08 07:33:53 +01:00
steeseries: make an array static const
This commit is contained in:
@@ -300,7 +300,7 @@ steelseries_probe(struct ratbag_device *device)
|
||||
int device_version;
|
||||
int rc;
|
||||
|
||||
unsigned int report_rates[] = { 125, 250, 500, 1000 };
|
||||
static const unsigned int report_rates[] = { 125, 250, 500, 1000 };
|
||||
|
||||
rc = ratbag_find_hidraw(device, steelseries_test_hidraw);
|
||||
if (rc)
|
||||
|
||||
Reference in New Issue
Block a user