From dab337bd5c6c67f67521a7776211df21668817f8 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 15 Apr 2023 09:15:56 -0400 Subject: [PATCH] divide by 1000 --- main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.c b/main.c index eec94af9..575084fa 100644 --- a/main.c +++ b/main.c @@ -764,8 +764,8 @@ int main(int argc, char * argv[]) { ; //payload = OFF; // turn off since STEM Payload is not responding } if ((millis() - newGpsTime) > 60000) { - longitude += rnd_float(-0.05, 0.05) / 100.0; // was .05 - latitude += rnd_float(-0.05, 0.05) / 100.0; + longitude += rnd_float(-0.05, 0.05) / 1000.0; // was .05 + latitude += rnd_float(-0.05, 0.05) / 1000.0; printf("GPS Location with Rnd: %f, %f \n", latitude, longitude); printf("GPS Location with Rnd: APRS %7.2f, %08.2f \n", toAprsFormat(latitude), toAprsFormat(longitude)); newGpsTime = millis();