artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
89b0dc2
)
Poll battery sensors less frequently.
author
anton
<anton@openbsd.org>
Tue, 3 Jan 2023 15:52:02 +0000
(15:52 +0000)
committer
anton
<anton@openbsd.org>
Tue, 3 Jan 2023 15:52:02 +0000
(15:52 +0000)
sys/dev/usb/uhidpp.c
patch
|
blob
|
history
diff --git
a/sys/dev/usb/uhidpp.c
b/sys/dev/usb/uhidpp.c
index
f8a3680
..
f9bda84
100644
(file)
--- a/
sys/dev/usb/uhidpp.c
+++ b/
sys/dev/usb/uhidpp.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: uhidpp.c,v 1.4
1 2023/01/03 15:51:40
anton Exp $ */
+/* $OpenBSD: uhidpp.c,v 1.4
2 2023/01/03 15:52:02
anton Exp $ */
/*
* Copyright (c) 2021 Anton Lindqvist <anton@openbsd.org>
@@
-668,7
+668,7
@@
uhidpp_device_connect(struct uhidpp_softc *sc, struct uhidpp_device *dev)
*/
KASSERT(sc->sc_senstsk == NULL);
mtx_leave(&sc->sc_mtx);
- sc->sc_senstsk = sensor_task_register(sc, uhidpp_refresh,
3
0);
+ sc->sc_senstsk = sensor_task_register(sc, uhidpp_refresh,
6
0);
mtx_enter(&sc->sc_mtx);
}