Skip to content

Commit 74ae4d5

Browse files
committed
Change to serial write so code will compile on the ESP32
1 parent ea5f34f commit 74ae4d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkFun_u-blox_SARA-R5_Arduino_Library.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -3457,7 +3457,7 @@ size_t SARA_R5::hwWriteData(const char* buff, int len)
34573457
{
34583458
if (_hardSerial != NULL)
34593459
{
3460-
return _hardSerial->write(buff, len);
3460+
return _hardSerial->write((const uint8_t *)buff, len);
34613461
}
34623462
#ifdef SARA_R5_SOFTWARE_SERIAL_ENABLED
34633463
else if (_softSerial != NULL)

0 commit comments

Comments
 (0)