コード例 #1
0
ファイル: aps.c プロジェクト: AhmadTux/DragonFlyBSD
static void
aps_refresh(void *arg)
{
	struct aps_softc *sc = (struct aps_softc *)arg;

	aps_refresh_sensor_data(sc);
}
コード例 #2
0
ファイル: aps.c プロジェクト: repos-holder/openbsd-patches
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);
}
コード例 #3
0
ファイル: aps.c プロジェクト: Tommmster/netbsd-avr32
static void
aps_refresh(void *arg)
{
	struct aps_softc *sc = arg;

	aps_refresh_sensor_data(sc);
	callout_schedule(&sc->sc_callout, (hz) / 2);
}