Skip to content

Commit 286670c

Browse files
authored
Update SparkFun_u-blox_GNSS_Arduino_Library.h
1 parent 1aa043c commit 286670c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/SparkFun_u-blox_GNSS_Arduino_Library.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -809,6 +809,7 @@ class SFE_UBLOX_GNSS
809809
bool setUSBOutput(uint8_t comSettings, uint16_t maxWait = defaultMaxWait); // Configure USB port to output UBX, NMEA, RTCM3, SPARTN or a combination thereof
810810
bool setSPIOutput(uint8_t comSettings, uint16_t maxWait = defaultMaxWait); // Configure SPI port to output UBX, NMEA, RTCM3, SPARTN or a combination thereof
811811
void setNMEAOutputPort(Stream &nmeaOutputPort); // Sets the internal variable for the port to direct NMEA characters to
812+
void setOutputPort(Stream &outputPort); // Sets the internal variable for the port to direct ALL characters to
812813

813814
// Reset to defaults
814815

@@ -1562,7 +1563,7 @@ class SFE_UBLOX_GNSS
15621563
Stream *_serialPort; // The generic connection to user's chosen Serial hardware
15631564
Stream *_nmeaOutputPort = NULL; // The user can assign an output port to print NMEA sentences if they wish
15641565
Stream *_debugSerial; // The stream to send debug messages to if enabled
1565-
1566+
Stream *_outputPort = NULL;
15661567
SPIClass *_spiPort; // The instance of SPIClass
15671568
uint8_t _csPin; // The chip select pin
15681569
uint32_t _spiSpeed; // The speed to use for SPI (Hz)

0 commit comments

Comments
 (0)