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
Show message in debug log if no magnitude found for a given sensor
fastled
Xose Pérez
7 years ago
parent
42f5ee5376
commit
c416b9ad3d
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
code/espurna/sensor.ino
+ 1
- 0
code/espurna/sensor.ino
View File
@ -352,6 +352,7 @@ void sensorSetup() {
BaseSensor
*
sensor
=
_sensors
[
i
]
;
DEBUG_MSG
(
"
[SENSOR] %s
\n
"
,
sensor
-
>
name
(
)
.
c_str
(
)
)
;
if
(
sensor
-
>
count
(
)
=
=
0
)
DEBUG_MSG
(
"
[SENSOR] -> NOTHING FOUND
\n
"
)
;
for
(
unsigned
char
k
=
0
;
k
<
sensor
-
>
count
(
)
;
k
+
+
)
{
Write
Preview
Loading…
Cancel
Save