only: BK3232

This commit is contained in:
rusefillc 2024-03-10 20:19:39 -04:00
parent 3ff181ed2e
commit b69dab40a6
2 changed files with 3 additions and 2 deletions

View File

@ -227,7 +227,7 @@ static void runCommands(SerialTsChannelBase* tsChannel) {
/* Now reset module to apply new settings */
btWrite(tsChannel, "AT+RESET\r\n");
if (btWaitOk(tsChannel) != 0) {
efiPrintf("JDY33 fialed to reset");
efiPrintf("JDY33 failed to reset");
}
}
@ -273,7 +273,7 @@ void bluetoothStart(bluetooth_module_e moduleType, const char *baudRate, const c
efiPrintf("Wrong <baud> parameter '%s'! %s", baudRate, usage);
return;
}
// 2) check name
if ((strlen(name) < 1) || (strlen(name) > 20)) {
efiPrintf("Wrong <name> parameter! Up to 20 characters expected! %s", usage);

View File

@ -25,6 +25,7 @@ typedef enum {
* See https://rusefi.com/forum/viewtopic.php?f=13&t=1999
*/
BLUETOOTH_BK3231,
// fun fact: those use BK3232 see above
BLUETOOTH_JDY_3x,
} bluetooth_module_e;