better names

This commit is contained in:
rusefi 2020-05-03 00:30:35 -04:00
parent b21ab82d99
commit 32b724dba7
2 changed files with 3 additions and 3 deletions

View File

@ -159,10 +159,10 @@ static THD_FUNCTION(btThreadEntryPoint, arg) {
chThdExit(MSG_OK);
}
void bluetoothStart(ts_channel_s *tsChan, bluetooth_module_e moduleType, const char *baudRate, const char *name, const char *pinCode) {
void bluetoothStart(ts_channel_s *btChan, bluetooth_module_e moduleType, const char *baudRate, const char *name, const char *pinCode) {
static const char *usage = "Usage: bluetooth_hc06 <baud> <name> <pincode>";
tsChannel = tsChan;
tsChannel = btChan;
// if a binary protocol uses USB, we cannot init the bluetooth module!
if (!CONFIG(useSerialPort)) {

View File

@ -30,7 +30,7 @@ typedef enum {
* - send AT-commands to the module;
* - restore connection to PC.
*/
void bluetoothStart(ts_channel_s *tsChannel, bluetooth_module_e moduleType, const char *baudRate, const char *name, const char *pinCode);
void bluetoothStart(ts_channel_s *btChannel, bluetooth_module_e moduleType, const char *baudRate, const char *name, const char *pinCode);
/**
* Cancel Bluetooth procedure