Skip to content

Commit a1faeb2

Browse files
committed
Pass config in as reference in init.
1 parent 131eb71 commit a1faeb2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sfTkArdUART.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "sfTk/sfTkISerial.h"
2121
#include "sfTk/sfTkIUART.h"
2222

23-
sfTkError_t sfTkArdUART::init(arduino::HardwareSerial &hwSerial, sfTkIUART::UARTConfig_t config, bool bInit)
23+
sfTkError_t sfTkArdUART::init(arduino::HardwareSerial &hwSerial, sfTkIUART::UARTConfig_t &config, bool bInit)
2424
{
2525
_hwSerial = &hwSerial; // set the serial port
2626

0 commit comments

Comments
 (0)