last fixes for the Chirp-sensor

This commit is contained in:
Staars 2019-09-29 18:35:02 +02:00
parent ab70dd2755
commit 6da17ccb6b

View File

@ -426,7 +426,7 @@ void ChirpShow(bool json)
char str_light[33];
dtostrfd(chirp_sensor[i].light, 0, str_light);
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));
}
else{