Skip to content

Commit f47971c

Browse files
authored
Merge pull request #35 from LeeLeahy2/config-debug
Use default of &Serial for sempPrintParserConfiguration print parameter
2 parents 75941f0 + 0e06f71 commit f47971c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SparkFun_Extensible_Message_Parser.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ void sempParseNextByte(SEMP_PARSE_STATE *parse, uint8_t data);
239239
void sempStopParser(SEMP_PARSE_STATE **parse);
240240

241241
// Print the contents of the parser data structure
242-
void sempPrintParserConfiguration(SEMP_PARSE_STATE *parse, Print *print);
242+
void sempPrintParserConfiguration(SEMP_PARSE_STATE *parse, Print *print = &Serial);
243243

244244
// Format and print a line of text
245245
void sempPrintf(Print *print, const char *format, ...);

0 commit comments

Comments
 (0)