cmd: controller mode switch
This commit is contained in:
@@ -69,6 +69,10 @@ void config_valid() {
|
||||
body->haptics_buffer_length = 48;
|
||||
printf("[Config] haptics_buffer_length is invalid\n");
|
||||
}
|
||||
if (body->controller_mode > 1) {
|
||||
body->controller_mode = 0;
|
||||
printf("[Config] controller_mode is invalid\n");
|
||||
}
|
||||
}
|
||||
|
||||
void config_load() {
|
||||
|
||||
Reference in New Issue
Block a user