Skip to content

Commit b3c3c79

Browse files
committed
lintに対応して修正
1 parent 2b50070 commit b3c3c79

File tree

1 file changed

+9
-8
lines changed

1 file changed

+9
-8
lines changed

src/drivers/rtmouse_dev.c

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,15 @@ static unsigned int motor_r_freq_is_positive = 1;
2929
* --- Device Names(+%u) ---
3030
* used in register_dev()
3131
*/
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"};
32+
static const char *NAME_DEV_U[ID_DEV_SIZE] = {
33+
[ID_DEV_LED] = "rtled%u",
34+
[ID_DEV_SWITCH] = "rtswitch%u",
35+
[ID_DEV_SENSOR] = "rtlightsensor%u",
36+
[ID_DEV_BUZZER] = "rtbuzzer%u",
37+
[ID_DEV_MOTORRAWR] = "rtmotor_raw_r%u",
38+
[ID_DEV_MOTORRAWL] = "rtmotor_raw_l%u",
39+
[ID_DEV_MOTOREN] = "rtmotoren%u",
40+
[ID_DEV_MOTOR] = "rtmotor%u"};
4041

4142
/*
4243
* i2c_counter_set - set value to I2C pulse counter

0 commit comments

Comments
 (0)