summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/OBD2UART/OBD2UART.cpp2
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();