CI - Resolve warnings, attempt to fix error for examples/ublox_ddc/ublox_dcc.ino

This commit is contained in:
brentru 2025-07-30 13:01:16 -04:00
parent 8081d05d6f
commit 57c7b6cb03
4 changed files with 4 additions and 6 deletions

View file

@ -37,8 +37,6 @@ Adafruit_UBX::Adafruit_UBX(Stream &stream) {
* @brief Destructor
*/
Adafruit_UBX::~Adafruit_UBX() {
if (_stream)
delete _stream;
if (onUBXMessage)
onUBXMessage = NULL;
}

View file

@ -1,5 +1,5 @@
/*!
* @file ublox_ddc_example.ino
* @file ublox_ddc.ino
*
* Example sketch demonstrating the use of the Adafruit_UBloxDDC library
* with u-blox GPS/RTK modules over I2C (DDC) interface.
@ -12,7 +12,7 @@
* MIT license, all text above must be included in any redistribution
*/
#include "Adafruit_UBloxDDC.h"
#include <Adafruit_UBloxDDC.h>
// Create Adafruit_UBloxDDC object with default I2C address (0x42)
Adafruit_UBloxDDC gps;

View file

@ -101,7 +101,7 @@ void setup() {
void loop() {
static char nmeaSentenceBuf[SZ_NMEA_BUFFER];
static int nmeaSentenceIdx = 0;
static size_t nmeaSentenceIdx = 0;
// Check how many bytes are available
int bytesAvailable = gps.available();

View file

@ -1,5 +1,5 @@
/*!
* @file ubx_mode_test.ino
* @file ublox_ubxtest.ino
*
* Test sketch to verify switching to UBX protocol mode
* This example uses I2C (DDC) to communicate with a u-blox module.