Skip to content

Commit

Permalink
Merge pull request RIOT-OS#10737 from aabadie/pr/boards/esp32-wroom-3…
Browse files Browse the repository at this point in the history
…2-button

boards/esp32-wroom-32: configure saul button as inverted
  • Loading branch information
gschorcht authored Jan 9, 2019
2 parents d55d72b + 081c4a9 commit d99d72c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion boards/esp32-olimex-evb/include/gpio_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static const saul_gpio_params_t saul_gpio_params[] =
.name = "BUT1",
.pin = BUTTON0_PIN,
.mode = GPIO_IN,
.flags = 0
.flags = SAUL_GPIO_INVERTED
},
};

Expand Down
2 changes: 1 addition & 1 deletion boards/esp32-wroom-32/include/gpio_params.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static const saul_gpio_params_t saul_gpio_params[] =
.name = "BOOT",
.pin = BUTTON0_PIN,
.mode = GPIO_IN,
.flags = 0
.flags = SAUL_GPIO_INVERTED
},
};

Expand Down

0 comments on commit d99d72c

Please sign in to comment.