Skip to content

Commit 4c1ce4d

Browse files
committed
Fix:Debug messages now uses the new serial formal.
1 parent 84d39a2 commit 4c1ce4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/MySensors/MySensor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -517,7 +517,7 @@ void MySensor::debugPrint(const char *fmt, ... ) {
517517
char fmtBuffer[300];
518518
if (isGateway) {
519519
// prepend debug message to be handled correctly by gw (C_INTERNAL, I_LOG_MESSAGE)
520-
snprintf_P(fmtBuffer, 299, PSTR("0;0;%d;%d;"), C_INTERNAL, I_LOG_MESSAGE);
520+
snprintf_P(fmtBuffer, 299, PSTR("0;0;%d;0;%d;"), C_INTERNAL, I_LOG_MESSAGE);
521521
Serial.print(fmtBuffer);
522522
}
523523
va_list args;

0 commit comments

Comments
 (0)