sparkfun / SparkFun_I2C_GPS_Arduino_Library

Library for reading and controlling MT3333 and MT3339 based GPS modules over I2C.
Other
18 stars 13 forks source link

Error: call of overloaded 'write(int)' is ambiguous #13

Closed gpabdo closed 1 year ago

gpabdo commented 1 year ago

I was receiving Error: call of overloaded 'write(int)' is ambiguous from _i2cPort->write(0); //Write dummy value not sure why it seems I am the only one to receive this message, but following the article here fixed it.

https://support.arduino.cc/hc/en-us/articles/360021722399-Error-call-of-overloaded-write-int-is-ambiguous

https://github.com/sparkfun/SparkFun_I2C_GPS_Arduino_Library/blob/master/src/SparkFun_I2C_GPS_Arduino_Library.cpp#L52

Will open a PR unless I am doing something wrong elsewhere.

nseidle commented 1 year ago

Very good. Different platforms have different levels of tolerance for ambiguity. This is a good fix. Thanks!