Skip to content
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

Do not request string descriptor if index is 0 #5

Merged
merged 1 commit into from
Nov 5, 2022

Conversation

CodyJung
Copy link

@CodyJung CodyJung commented Nov 5, 2022

This is similar to a fix I made in 8397298 -- but impacts an API that only OpenMTP uses so I missed originally.

Garmin devices have a 0 index for a couple string descriptors, which is valid but means it's not available - so requesting it is incorrect behavior.

Part of the fix for ganeshrvel/openmtp#153

This is similar to a fix I made in 8397298 -- but impacts an API
that only OpenMTP uses so I missed originally.

Garmin devices have a 0 index for a couple string descriptors, which
is valid but means it's not available - so requesting it is incorrect
behavior.
@ganeshrvel ganeshrvel changed the base branch from master to fix/garmin November 5, 2022 04:08
@ganeshrvel ganeshrvel merged commit b428192 into ganeshrvel:fix/garmin Nov 5, 2022
@ganeshrvel
Copy link
Owner

awesome @CodyJung !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants