Skip to content

Commit

Permalink
Pull-up angle sensor
Browse files Browse the repository at this point in the history
  • Loading branch information
elmot committed May 30, 2024
1 parent d580af4 commit c5bae2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main/sensors.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ void initSpeedGpioAndTimers() {
//set as output mode
.mode = GPIO_MODE_INPUT,
//disable pull-down mode
.pull_down_en = GPIO_PULLUP_ENABLE,
.pull_down_en = GPIO_PULLUP_DISABLE,
//disable pull-up mode
.pull_up_en = GPIO_PULLDOWN_DISABLE
.pull_up_en = GPIO_PULLDOWN_ENABLE
};
gpio_config(&io_conf);

Expand Down

0 comments on commit c5bae2d

Please sign in to comment.