uartmode option for USBMIDI and USBMIDI-38K

This commit is contained in:
root
2018-11-05 10:33:44 -05:00
parent da6571f3b2
commit 89115e3d96
2 changed files with 12 additions and 5 deletions

View File

@@ -587,7 +587,7 @@ void user_io_init(const char *path)
{
sprintf(mainpath, "uartmode.%s", user_io_get_core_name_ex());
FileLoadConfig(mainpath, &mode, 4);
if (mode > 3) mode = 0;
if (mode > 5) mode = 0;
}
char cmd[32];