casts to make unambiguous on UNO
This commit is contained in:
parent
8c550d278e
commit
59c1a4acbd
|
|
@ -385,7 +385,7 @@ char Adafruit_GPS::read(void) {
|
||||||
_buff_idx++;
|
_buff_idx++;
|
||||||
} else {
|
} else {
|
||||||
// refill the buffer!
|
// refill the buffer!
|
||||||
if (gpsI2C->requestFrom((uint16_t)0x10, (uint8_t)GPS_MAX_I2C_TRANSFER, true) ==
|
if (gpsI2C->requestFrom((uint8_t)0x10, (uint8_t)GPS_MAX_I2C_TRANSFER, (uint8_t) true) ==
|
||||||
GPS_MAX_I2C_TRANSFER) {
|
GPS_MAX_I2C_TRANSFER) {
|
||||||
// got data!
|
// got data!
|
||||||
_buff_max = 0;
|
_buff_max = 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue