mirror of
https://github.com/eddyem/small_tel.git
synced 2026-03-21 09:10:58 +03:00
add wind direction
This commit is contained in:
@@ -151,6 +151,7 @@ char *poll_device(char *ans, int anslen){
|
||||
d /= 3.6;
|
||||
PRINT("Wind=%.1f\n", d);
|
||||
if(d > GUST_WIND) gustt = tnow;
|
||||
if(getpar(r, &d, "WR")) PRINT("Dir=%.1f\n", d);
|
||||
}
|
||||
if(tnow - gustt < GUST_MAX_TIME) PRINT("Gusttime=%lld\n", (long long)gustt);
|
||||
// now get BTA parameters
|
||||
|
||||
Reference in New Issue
Block a user