Searched refs:UTHUM_HUMIDITY (Results 1 – 1 of 1) sorted by relevance
69 #define UTHUM_HUMIDITY 1 macro170 (void)strlcpy(sc->sc_sensor[UTHUM_HUMIDITY].desc, in uthum_attach()172 sizeof(sc->sc_sensor[UTHUM_HUMIDITY].desc)); in uthum_attach()173 sc->sc_sensor[UTHUM_HUMIDITY].units = ENVSYS_INTEGER; in uthum_attach()174 sc->sc_sensor[UTHUM_HUMIDITY].value_cur = 0; in uthum_attach()175 sc->sc_sensor[UTHUM_HUMIDITY].state = ENVSYS_SINVALID; in uthum_attach()180 &sc->sc_sensor[UTHUM_HUMIDITY]); in uthum_attach()352 sc->sc_sensor[UTHUM_HUMIDITY].state = ENVSYS_SINVALID; in uthum_refresh()365 sc->sc_sensor[UTHUM_HUMIDITY].value_cur = rh / 1000; in uthum_refresh()366 sc->sc_sensor[UTHUM_HUMIDITY].state = ENVSYS_SVALID; in uthum_refresh()