From 55174c641f99edddcf1713e865f804d300bd9015 Mon Sep 17 00:00:00 2001 From: Alan Johnston Date: Wed, 27 Aug 2025 16:33:46 -0400 Subject: [PATCH] Update main.c change max altitude to 400 --- main.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/main.c b/main.c index bf6832c7..9a9d3def 100644 --- a/main.c +++ b/main.c @@ -748,8 +748,8 @@ int main(int argc, char * argv[]) { if (atmosphere == 0) { sensor[PRES] = 0; strcpy(sensor_string[PRES], "0.0"); - sensor[ALT] = 1000; - strcpy(sensor_string[ALT], "1000"); + sensor[ALT] = 400; + strcpy(sensor_string[ALT], "400"); sensor[HUMI] = 0; strcpy(sensor_string[HUMI], "0.0"); sensor[TEMP] = 0; @@ -757,8 +757,8 @@ int main(int argc, char * argv[]) { } else { sensor[PRES] = 1015; strcpy(sensor_string[PRES], "1015"); - sensor[ALT] = 175; - strcpy(sensor_string[ALT], "175"); + sensor[ALT] = 75; + strcpy(sensor_string[ALT], "75"); sensor[HUMI] = 48; strcpy(sensor_string[HUMI], "48"); sensor[TEMP] = 27;