Shove more battery feature logic down to hidpp20_battery_get_level_status().
authoranton <anton@openbsd.org>
Sat, 26 Nov 2022 06:29:50 +0000 (06:29 +0000)
committeranton <anton@openbsd.org>
Sat, 26 Nov 2022 06:29:50 +0000 (06:29 +0000)
commit0cb097afb3daf1651b81dc40f8733e5cb52501a5
treeb1e5c91fd6582012e70d1a51aab0746cdb820f2d
parent15ee81a1ec175ec8f0c4789efe009d08778dec5a
Shove more battery feature logic down to hidpp20_battery_get_level_status().
In preparation for supporting the unified battery feature.
sys/dev/usb/uhidpp.c