Commit 225dfafe authored by Gebhardt, Albrecht's avatar Gebhardt, Albrecht
Browse files

fix illu outliers

parent 01034e7e
......@@ -2,3 +2,11 @@ all: frewe-client
frewe-client: frewe-client.c http_fetcher.c http_error_codes.c
gcc frewe-client.c http_fetcher.c http_error_codes.c -o frewe-client -lusb -lm -lcrypto
install: frewe-client
service frewe-client stop
cp frewe-client /usr/local/bin/
service frewe-client start
rm -f *.o frewe-client
......@@ -1603,6 +1603,7 @@ int ws_parse(uint8_t *buffer, uint8_t *buffer60, uint8_t *buffer0h, time_t curti
// cut outliers:
if(w.uv>30) w.uv=-1;
if(w.illu==100000) w.illu=-1;
{ w.uv=-1.0;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment