-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixing vcc telem parse #49
Conversation
Renamed the ADC parsing dictionary ADC6 to VCC.
Fixed parsing offset error. Found that the data was not correct and fixed per issue #25
'ADC3': telemetryList[28], | ||
'ADC4': telemetryList[29], | ||
'ADC5': telemetryList[30], | ||
'VCC': telemetryList[31], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK looks like ADC6 is VCC and ADC7 is boardtemp. Thanks for catching this.
'SOURCEID': int(telemetryList[2]), | ||
'DESTINATIONCALLSIGN': telemetryList[3], | ||
'DESTINATIONCALLSIGNLEN': telemetryList[4], | ||
'DESTINATIONID': telemetryList[5], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK you previously would delete index items 1 and 3. Adding it back them would in-fact change the indexing when parsing into a dictionary. These changes would add two to the index for items afterwards which appears correct. No longer deleting item 31 would push any item afterwards upwards by three which appears correct.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've commented on lines that changed. All appears OK and your changes in indexing make sense. OK to merge!
This pull request contains