Skip to content

Commit 04b76c5

Browse files
author
noah-jonathan rosa
committed
Bugfix in HelloWorld examples
1 parent 189cc8b commit 04b76c5

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

examples/X_NUCLEO_GNSS1A1_HelloWorld_I2C/X_NUCLEO_GNSS1A1_HelloWorld_I2C.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ void waitResponse()
205205
}
206206
}
207207
//if the timer expired (10s)
208-
if (millis() > (stime + 10000))
208+
else if (millis() > (stime + 10000))
209209
{
210210
//wait for user interaction
211211
Serial.print("Timed out\r\n>");

examples/X_NUCLEO_GNSS1A1_HelloWorld_UART/X_NUCLEO_GNSS1A1_HelloWorld_UART.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ void waitResponse ()
206206
}
207207
}
208208
//if the timer expired (10s)
209-
if (millis() > (stime + 10000))
209+
else if (millis() > (stime + 10000))
210210
{
211211
//wait for user interaction
212212
Serial.print("Timed out\r\n>");

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=STM32duino X-NUCLEO-GNSS1A1
2-
version=1.0.2
2+
version=1.0.3
33
author=AST
44
maintainer=stm32duino
55
sentence=Allows controlling the X-NUCLEO-GNSS1A1 (GNSS expansion board based on Teseo LIV3F)

0 commit comments

Comments
 (0)