From 9a2f6735b341b7b814fba0001533c6022e920de6 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sun, 3 May 2020 00:30:35 -0400 Subject: [PATCH] better names --- firmware/console/binary/bluetooth.cpp | 4 ++-- firmware/console/binary/bluetooth.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/firmware/console/binary/bluetooth.cpp b/firmware/console/binary/bluetooth.cpp index c2122806be..8b41f2a5b1 100644 --- a/firmware/console/binary/bluetooth.cpp +++ b/firmware/console/binary/bluetooth.cpp @@ -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 "; - tsChannel = tsChan; + tsChannel = btChan; // if a binary protocol uses USB, we cannot init the bluetooth module! if (!CONFIG(useSerialPort)) { diff --git a/firmware/console/binary/bluetooth.h b/firmware/console/binary/bluetooth.h index 62c021c433..b3daba3de0 100644 --- a/firmware/console/binary/bluetooth.h +++ b/firmware/console/binary/bluetooth.h @@ -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