Skip to content

Commit

Permalink
lintに対応して修正
Browse files Browse the repository at this point in the history
  • Loading branch information
YusukeKato committed Nov 7, 2024
1 parent 2b50070 commit b3c3c79
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/drivers/rtmouse_dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,15 @@ static unsigned int motor_r_freq_is_positive = 1;
* --- Device Names(+%u) ---
* used in register_dev()
*/
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",
[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",
[ID_DEV_MOTOR] = "rtmotor%u"};

/*
* i2c_counter_set - set value to I2C pulse counter
Expand Down

0 comments on commit b3c3c79

Please sign in to comment.