We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2b50070 commit b3c3c79Copy full SHA for b3c3c79
src/drivers/rtmouse_dev.c
@@ -29,14 +29,15 @@ static unsigned int motor_r_freq_is_positive = 1;
29
* --- Device Names(+%u) ---
30
* used in register_dev()
31
*/
32
-static const char *NAME_DEV_U[ID_DEV_SIZE] = {[ID_DEV_LED] = "rtled%u",
33
- [ID_DEV_SWITCH] = "rtswitch%u",
34
- [ID_DEV_SENSOR] = "rtlightsensor%u",
35
- [ID_DEV_BUZZER] = "rtbuzzer%u",
36
- [ID_DEV_MOTORRAWR] = "rtmotor_raw_r%u",
37
- [ID_DEV_MOTORRAWL] = "rtmotor_raw_l%u",
38
- [ID_DEV_MOTOREN] = "rtmotoren%u",
39
- [ID_DEV_MOTOR] = "rtmotor%u"};
+static const char *NAME_DEV_U[ID_DEV_SIZE] = {
+ [ID_DEV_LED] = "rtled%u",
+ [ID_DEV_SWITCH] = "rtswitch%u",
+ [ID_DEV_SENSOR] = "rtlightsensor%u",
+ [ID_DEV_BUZZER] = "rtbuzzer%u",
+ [ID_DEV_MOTORRAWR] = "rtmotor_raw_r%u",
+ [ID_DEV_MOTORRAWL] = "rtmotor_raw_l%u",
+ [ID_DEV_MOTOREN] = "rtmotoren%u",
40
+ [ID_DEV_MOTOR] = "rtmotor%u"};
41
42
/*
43
* i2c_counter_set - set value to I2C pulse counter
0 commit comments