Skip to content

Commit fd205f8

Browse files
committed
Just keep breaking things :)
1 parent 41e0342 commit fd205f8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/sfTkArdUART.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
#pragma once
1515

16+
#include <memory>
17+
1618
#include <Arduino.h>
1719
#include <api/HardwareSerial.h>
1820
#include <api/Print.h>
@@ -135,7 +137,7 @@ class sfTkArdUART : public sfTkIUART
135137
*
136138
* @retval ksftkErrOk on successful execution.
137139
*/
138-
sfTkError_t init(arduino::HardwareSerial &hwSerial, UARTConfig_t config, bool bInit = false);
140+
sfTkError_t init(arduino::HardwareSerial &hwSerial, sfTkIUART::UARTConfig_t &config, bool bInit = false);
139141

140142
/**
141143
* @brief Write `len` bytes to the UART TX buffer.

0 commit comments

Comments
 (0)