Skip to content

Commit d77e1f7

Browse files
committed
HIDE uart compile issues on some esp32 platforms. This needs a perm fix
1 parent 68749d4 commit d77e1f7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/sfTkArdUART.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@ sfTkError_t sfTkArdUART::init(HardwareSerial &hwSerial, uint32_t baudRate, bool
4848

4949
sfTkError_t sfTkArdUART::init(uint32_t baudRate, bool bInit)
5050
{
51-
#ifdef _THIS__NOT_IS_BROKEN
51+
// issues here on some devices - $defineing out for now
52+
#ifdef _THIS_IS_BROKEN
5253
// if we don't have a port already, use the default Arduino Serial.
5354
if (!_hwSerial)
5455
return init(Serial, baudRate, bInit);
@@ -62,7 +63,8 @@ sfTkError_t sfTkArdUART::init(uint32_t baudRate, bool bInit)
6263

6364
sfTkError_t sfTkArdUART::init(sfTkIUART::UARTConfig_t config, bool bInit)
6465
{
65-
#ifdef _THIS__NOT_IS_BROKEN
66+
// issues here on some devices - $defineing out for now
67+
#ifdef _THIS_IS_BROKEN
6668
// if we don't have a port already, use the default Arduino Serial.
6769
if (!_hwSerial)
6870
return init(Serial, config, bInit);

0 commit comments

Comments
 (0)