Merge pull request #2 from brentru/fix-default-arg-bug

Fixes Default Parameter Bug
This commit is contained in:
Brent Rubell 2025-07-22 14:53:09 -04:00 committed by GitHub
commit 2ffb9de69b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@ jobs:
- name: Check for correct documentation with doxygen - name: Check for correct documentation with doxygen
env: env:
GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }} GH_REPO_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
PRETTYNAME : "Adafruit Bus Ublox Library" PRETTYNAME : "Adafruit uBlox Library"
run: bash ci/doxy_gen_and_deploy.sh run: bash ci/doxy_gen_and_deploy.sh
- name: Test the code on supported platforms - name: Test the code on supported platforms

View file

@ -328,7 +328,7 @@ bool Adafruit_UBX::checkMessages() {
UBXSendStatus Adafruit_UBX::sendMessageWithAck(uint8_t msgClass, uint8_t msgId, UBXSendStatus Adafruit_UBX::sendMessageWithAck(uint8_t msgClass, uint8_t msgId,
uint8_t *payload, uint8_t *payload,
uint16_t length, uint16_t length,
uint16_t timeout_ms = 500) { uint16_t timeout_ms) {
// First send the message // First send the message
if (!sendMessage(msgClass, msgId, payload, length)) { if (!sendMessage(msgClass, msgId, payload, length)) {
if (verbose_debug > 0) { if (verbose_debug > 0) {