@@ -232,7 +232,7 @@ boolean SFE_UBLOX_GPS::checkUbloxI2C()
232
232
uint8_t lsb = _i2cPort->read ();
233
233
if (lsb == 0xFF )
234
234
{
235
- debugPrintln (" No bytes available" );
235
+ debugPrintln (( char *) " No bytes available" );
236
236
lastCheck = millis (); // Put off checking to avoid I2C bus traffic
237
237
return (false );
238
238
}
@@ -241,7 +241,7 @@ boolean SFE_UBLOX_GPS::checkUbloxI2C()
241
241
242
242
if (bytesAvailable == 0 )
243
243
{
244
- debugPrintln (" Zero bytes available" );
244
+ debugPrintln (( char *) " Zero bytes available" );
245
245
lastCheck = millis (); // Put off checking to avoid I2C bus traffic
246
246
return (false );
247
247
}
@@ -298,7 +298,7 @@ boolean SFE_UBLOX_GPS::checkUbloxI2C()
298
298
{
299
299
if (incoming == 0x7F )
300
300
{
301
- debugPrintln (" Module not ready with data" );
301
+ debugPrintln (( char *) " Module not ready with data" );
302
302
delay (5 ); // In logic analyzation, the module starting responding after 1.48ms
303
303
goto TRY_AGAIN;
304
304
}
@@ -527,7 +527,7 @@ void SFE_UBLOX_GPS::processUBX(uint8_t incoming, ubxPacket *incomingUBX)
527
527
{
528
528
if (_printDebug == true )
529
529
{
530
- debugPrintln (" Checksum failed. Response too big?" );
530
+ debugPrintln (( char *) " Checksum failed. Response too big?" );
531
531
532
532
// Drive an external pin to allow for easier logic analyzation
533
533
digitalWrite (2 , LOW);
@@ -580,7 +580,7 @@ void SFE_UBLOX_GPS::processUBXpacket(ubxPacket *msg)
580
580
if (msg->id == UBX_ACK_ACK && msg->payload [0 ] == packetCfg.cls && msg->payload [1 ] == packetCfg.id )
581
581
{
582
582
// The ack we just received matched the CLS/ID of last packetCfg sent
583
- debugPrintln (" Command sent/ack'd successfully" );
583
+ debugPrintln (( char *) " Command sent/ack'd successfully" );
584
584
commandAck = true ;
585
585
}
586
586
break ;
@@ -897,7 +897,7 @@ boolean SFE_UBLOX_GPS::waitForResponse(uint8_t requestedClass, uint8_t requested
897
897
// Did we receive a config packet that matches the cls/id we requested?
898
898
if (packetCfg.cls == requestedClass && packetCfg.id == requestedID)
899
899
{
900
- debugPrintln (" CLS/ID match!" );
900
+ debugPrintln (( char *) " CLS/ID match!" );
901
901
return (true ); // If the packet we just sent was a NAV packet then we'll just get data back
902
902
}
903
903
else
@@ -914,7 +914,7 @@ boolean SFE_UBLOX_GPS::waitForResponse(uint8_t requestedClass, uint8_t requested
914
914
delayMicroseconds (500 );
915
915
}
916
916
917
- debugPrintln (" waitForResponse timeout" );
917
+ debugPrintln (( char *) " waitForResponse timeout" );
918
918
919
919
return (false );
920
920
}
0 commit comments