onepad: add a missing break when CMD_CONFIG_MODE is true but configuration isn't enabled.

I hope it wasn't done on purpose.

CID 168624 (#1 of 1): Missing break in switch (MISSING_BREAK)
unterminated_case: The case for value CMD_CONFIG_MODE is not terminated by a 'break' statement.
This commit is contained in:
Gregory Hainaut 2016-08-12 22:54:01 +02:00
parent 1a09712f89
commit f38cd9d80d
1 changed files with 1 additions and 1 deletions

View File

@ -194,8 +194,8 @@ u8 pad_poll(u8 value)
if (pad->config) { if (pad->config) {
// In config mode. Might not actually be leaving it. // In config mode. Might not actually be leaving it.
query.set_result(ConfigExit); query.set_result(ConfigExit);
return 0xF3;
} }
break;
case CMD_READ_DATA_AND_VIBRATE: case CMD_READ_DATA_AND_VIBRATE:
{ {