Dear All,
I’ve recently downloaded the last version of the firmware repo for RTK from
https://github.com/sparkfun/SparkFun_RTK_Firmware. I’ve been trying to compile the code using the Arduino IDE 1.8.19. For that purpose, I upgraded all the required libraries. However, I’m stuck with the following error:
C:…Firmware\RTK_Surveyor\NtripServer.ino: In function ‘void ntripServerUpdate()’:
NtripServer:358:25: error: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Werror=format=]
Serial.printf(“NTRIP Server connection timeout wait: %d of %d seconds \n\r”,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
((millis() - ntripServerLastConnectionAttempt) / 1000),
I'll appreciate any help.
Best
Nicologico