nut
nut copied to clipboard
usbhid-ups: mark *_info types as enumerations
For instance, in mge-hid.c, "input.sensitivity" can either be "normal", "high" or "low", but the type is ST_FLAG_RW | ST_FLAG_STRING. Add HU_FLAG_ENUM for similar R/W variables that can only take one of several values.