From fc5c231b0898a539946867aeb409a47146a4a4ab Mon Sep 17 00:00:00 2001 From: PaulZC Date: Fri, 29 Jul 2022 08:50:43 +0100 Subject: [PATCH] Fix error in Example20 --- .../Example20_SendCustomCommand/Example20_SendCustomCommand.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/Example20_SendCustomCommand/Example20_SendCustomCommand.ino b/examples/Example20_SendCustomCommand/Example20_SendCustomCommand.ino index b468f93..003f801 100644 --- a/examples/Example20_SendCustomCommand/Example20_SendCustomCommand.ino +++ b/examples/Example20_SendCustomCommand/Example20_SendCustomCommand.ino @@ -167,6 +167,6 @@ void loop() uint16_t milliseconds = myGNSS.getMillisecond(); Serial.print(F(" Milliseconds: ")); - Serial.print(altitude); + Serial.print(milliseconds); Serial.println(); }