mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-31 14:37:49 +00:00
last fixes for the Chirp-sensor
This commit is contained in:
parent
ab70dd2755
commit
6da17ccb6b
@ -426,7 +426,7 @@ void ChirpShow(bool json)
|
|||||||
char str_light[33];
|
char str_light[33];
|
||||||
dtostrfd(chirp_sensor[i].light, 0, str_light);
|
dtostrfd(chirp_sensor[i].light, 0, str_light);
|
||||||
char str_version[7];
|
char str_version[7];
|
||||||
if(chirp_sensor[i].version == 255){
|
if(chirp_sensor[i].version == 0xff){
|
||||||
strncpy_P(str_version, PSTR("Chirp!"), sizeof(str_version));
|
strncpy_P(str_version, PSTR("Chirp!"), sizeof(str_version));
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user