From 6109a2901dbfee0d78dcfbc67ffd128ee8524554 Mon Sep 17 00:00:00 2001 From: Kai Lauterbach Date: Mon, 16 May 2022 22:28:42 +0200 Subject: [PATCH] Fixed windspeed calculation radius value. --- firmware/config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/firmware/config.h b/firmware/config.h index c24f67e..5fc9260 100644 --- a/firmware/config.h +++ b/firmware/config.h @@ -27,7 +27,7 @@ #define WIFI_MINIMUM_SIGNAL_QUALITY 10 // percent #define RESET_ESP_TIME_INTERVAL_MS 3600000 -#define ROTOR_LENGTH_KM 0.000115 +#define ROTOR_LENGTH_KM 0.000016 // 1.6cm #define WIND_SENSOR_MEAS_TIME_S 5.0 #define SEC_TO_HOUR_FACTOR (60.0 * 60.0) #define COUNT_TO_KMH ((TWO_PI * ROTOR_LENGTH_KM / WIND_SENSOR_MEAS_TIME_S) * SEC_TO_HOUR_FACTOR)