amperka / TroykaGPS

6 stars 2 forks source link

Compile error (dtostrf) #7

Open vakhet opened 3 years ago

vakhet commented 3 years ago

Hello!

Device: Arduino Nano 33 BLE

Trying to compile an example TroykaGPS/HardwareSerial/HardwareSerialGpsTest.ino

TroykaGPS.cpp: In member function 'int GPS::readParsing()':
TroykaGPS.cpp:188:5: error: 'dtostrf' was not declared in this scope
     dtostrf(lalitudeSec, 6, 4, latitudeSecStr);
     ^~~~~~~
TroykaGPS.cpp:188:5: note: suggested alternative: 'strstr'
     dtostrf(lalitudeSec, 6, 4, latitudeSecStr);
     ^~~~~~~
     strstr
Compilation error: Error: 2 UNKNOWN: exit status 1