diff options
author | Stanley Huang <stanleyhuangyc@gmail.com> | 2020-03-29 13:29:05 +1100 |
---|---|---|
committer | Stanley Huang <stanleyhuangyc@gmail.com> | 2020-03-29 13:29:05 +1100 |
commit | 5e7e97fe4363e9b371706807d31f79812db4cf68 (patch) | |
tree | 3767e9a7b90f0edf5e06acbda4fd683eb01e3af2 /libraries/OBD2UART | |
parent | 22c0c5e5482efea9b35a196d8d0945067e450fce (diff) | |
download | 2021-arduino-obd-5e7e97fe4363e9b371706807d31f79812db4cf68.tar.gz 2021-arduino-obd-5e7e97fe4363e9b371706807d31f79812db4cf68.tar.bz2 2021-arduino-obd-5e7e97fe4363e9b371706807d31f79812db4cf68.zip |
Update OBD2UART.cpp
Diffstat (limited to 'libraries/OBD2UART')
-rw-r--r-- | libraries/OBD2UART/OBD2UART.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/OBD2UART/OBD2UART.cpp b/libraries/OBD2UART/OBD2UART.cpp index 89ca2b1..5f1dbd7 100644 --- a/libraries/OBD2UART/OBD2UART.cpp +++ b/libraries/OBD2UART/OBD2UART.cpp @@ -484,7 +484,7 @@ void COBD::end() bool COBD::setBaudRate(unsigned long baudrate) { OBDUART.print("ATBR1 "); - OBDUART.print(baudrate); + OBDUART.print(baudrate, HEX); OBDUART.print('\r'); delay(50); OBDUART.end(); |