Skip to content

Commit

Permalink
Update signalDecoder.cpp
Browse files Browse the repository at this point in the history
zusätzliche Ausgaben bei "addData overflow!!"
  • Loading branch information
Ralf9 authored Aug 27, 2017
1 parent 1f56bbf commit 1484b46
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/_micro-api/libraries/signalDecoder/src/signalDecoder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@ inline void SignalDetectorClass::addData(const uint8_t value)
messageLen++;
}
else {
MSG_PRINTLN(F("addData overflow!!"));
MSG_PRINT("val="); MSG_PRINT(value);
MSG_PRINT(" msglen="); MSG_PRINT(messageLen);
MSG_PRINT(" bytecnt="); MSG_PRINT(message.bytecount);
MSG_PRINT(" valcnt="); MSG_PRINT(message.valcount);
MSG_PRINT(" mTrunc="); MSG_PRINT(m_truncated);
MSG_PRINTLN(F(" addData overflow!!"));
}
}

Expand Down

2 comments on commit 1484b46

@sidey79
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wäre das nicht eher eine Debug ausgabe?

@Ralf9
Copy link
Contributor Author

@Ralf9 Ralf9 commented on 1484b46 Aug 27, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

siehe hier
#60 (comment)

Please sign in to comment.