static void aps_refresh(void *arg) { struct aps_softc *sc = (struct aps_softc *)arg; aps_refresh_sensor_data(sc); }
void aps_refresh(void *arg) { struct aps_softc *sc = (struct aps_softc *)arg; aps_refresh_sensor_data(sc); timeout_add(&aps_timeout, (5 * hz) / 10); }
static void aps_refresh(void *arg) { struct aps_softc *sc = arg; aps_refresh_sensor_data(sc); callout_schedule(&sc->sc_callout, (hz) / 2); }