Commit 4ab6e4fb authored by Sergio Poppi's avatar Sergio Poppi
Browse files

Patch meteosocket in weather station component

parent 35c317d4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -52,6 +52,7 @@ static int Depth;
	double m_temperature;
	double m_pressure;
	double m_humidity;
        double m_windspeedPeak;
        int parse( const char* buff);   // weather data from station
        int fs_parse(const char* buff); // weather data from the field system

+1 −1
Original line number Diff line number Diff line
@@ -460,7 +460,7 @@ int MeteoSocket::fs_parse(const char* recv)
                m_humidity=hum;
                m_windspeed=wind_speed;
                m_winddir=wind_dir;
                m_windspeedPeak=wind_speed
                m_windspeedPeak=wind_speed;
                 ACS_LOG(LM_FULL_INFO,"MeteoSocket::parse()",(LM_DEBUG," Meteoparms  %f %f %f",temp,pres,hum ));
                  
                cout << temp << ","<<pres<<","<<hum<<endl;