Skip to content

Commit

Permalink
Merge pull request #244 from jimwhitelaw/master
Browse files Browse the repository at this point in the history
Fix for query formatting when specifyNumResponses == false.
  • Loading branch information
jimwhitelaw authored Apr 17, 2024
2 parents ac50431 + 3d290ef commit 2d89621
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ELMduino.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,8 @@ void ELM327::formatQueryArray(uint8_t service, uint16_t pid, uint8_t num_respons
query[6] = '\0';
query[7] = '\0';
query[8] = '\0';

upper(query, 6);
}
}
else
Expand Down Expand Up @@ -293,6 +295,8 @@ void ELM327::formatQueryArray(uint8_t service, uint16_t pid, uint8_t num_respons
query[6] = '\0';
query[7] = '\0';
query[8] = '\0';

upper(query, 4);
}
}

Expand Down

0 comments on commit 2d89621

Please sign in to comment.