This website works better with JavaScript.
Home
Explore
Help
Sign In
mh
/
mhsw-espurna
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
Do not report sensor data if no magnitudes
fastled
Xose Pérez
7 years ago
parent
a1489d752d
commit
b613996461
1 changed files
with
2 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-0
code/espurna/sensor.ino
+ 2
- 0
code/espurna/sensor.ino
View File
@ -590,6 +590,8 @@ void sensorLoop() {
static
unsigned
long
last_update
=
0
;
static
unsigned
long
report_count
=
0
;
if
(
_magnitudes
.
size
(
)
=
=
0
)
return
;
// Tick hook
_sensorTick
(
)
;
Write
Preview
Loading…
Cancel
Save