Skip to content
Snippets Groups Projects

fix(gpio): use ADC mode when both IN and ADC modes are set

Merged fuchsi* requested to merge fuchsi/firmware:gpio_in_adc_fix into master

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.

Merge request reports

Merge request pipeline #4220 passed

Merge request pipeline passed for bbbc91f0

Merged by rahixrahix 5 years ago (Nov 10, 2019 9:36pm UTC)

Loading

Pipeline #4222 passed

Pipeline passed for db14781c on master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
  • Loading
Please register or sign in to reply
Loading