Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gebhardt, Albrecht
frewe-rpi
Commits
225dfafe
Commit
225dfafe
authored
Jul 15, 2017
by
Gebhardt, Albrecht
Browse files
fix illu outliers
parent
01034e7e
Changes
2
Show whitespace changes
Inline
Side-by-side
Makefile
View file @
225dfafe
...
...
@@ -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
clean
:
rm
-f
*
.o frewe-client
frewe-client.c
View file @
225dfafe
...
...
@@ -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
;
}
else
{
w
.
uv
=-
1
.
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment