Feat transmit emotibit serial number to oscilloscope#24
Merged
Conversation
12 tasks
nitin710
commented
Mar 21, 2023
| } | ||
|
|
||
| int16_t EmotiBitPacket::getPacketKeyedValue(const String &packet, const String &key, String &value, uint16_t startChar) | ||
| int16_t EmotiBitPacket::getPacketKeyedValue(const String &packet, const String &key, String &value, int16_t startChar) |
Collaborator
Author
There was a problem hiding this comment.
For reviewer:
in case of a "end of packet" scenario, a -1 returned by the called function (in this case EmotiBitPacket::getPacketElement) was being implicitly converted to 65535, which was creating an infinite do-while loop in the code segment below.
7 tasks
produceconsumerobot
approved these changes
Mar 31, 2023
version bump on library properties
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
HELLO_HOSTemotibit packet.inttouintwas starting an infinite while loopRequirements
Required by
Issues Referenced
Documentation update
None
Testing
Checklist to allow merge
masterDIGITAL_WRITE_DEBUG= false (if set true while testing)ofxEmotiBitVersion.hScreenshots: