mirror of
https://github.com/eddyem/small_tel.git
synced 2026-11-24 14:40:17 +03:00
some more fixes; added atmdens, added corrections
This commit is contained in:
@@ -19,6 +19,20 @@
|
||||
#pragma once
|
||||
|
||||
#include <weather_data.h>
|
||||
/* for:
|
||||
typedef struct {
|
||||
weather_condition_t weather; // conditions: field "WEATHER"
|
||||
float windmax; // maximal wind for last hour, m/s: "WINDMAX1"
|
||||
float wind; // current wind speed, m/s: "WIND"
|
||||
float clouds; // sky "quality" (>2500 - OK): "CLOUDS"
|
||||
float exttemp; // external temperature, degC: "EXTTEMP"
|
||||
float pressure; // atm. pressure, mmHg: "PRESSURE"
|
||||
float humidity; // humidity, percents: "HUMIDITY"
|
||||
int rain; // ==1 when rainy: "PRECIP"
|
||||
int forceoff; // force power off (AC power lost or lightning)
|
||||
time_t last_update; // value of "TMEAS"
|
||||
} weather_data_t;
|
||||
*/
|
||||
|
||||
#include "angles.h"
|
||||
#include "mount.h"
|
||||
@@ -33,6 +47,7 @@
|
||||
#define FLT_EPSILON 1e-6
|
||||
#endif
|
||||
|
||||
|
||||
typedef struct{
|
||||
weather_data_t weather;
|
||||
mount_status_t status;
|
||||
|
||||
Reference in New Issue
Block a user