fix(gpio): use ADC mode when both IN and ADC modes are set
Simply changed the order of checks. Previously IN was checked first, ignoring the ADC bit, so gpio.modes.IN | gpio.modes.ADC | gpio.modes.PULL_UP
was effectively treated like gpio.modes.IN
.