Skip to content

Commit

Permalink
Merge pull request #1632 from swineone/fix-stm32-od-pullup-bug
Browse files Browse the repository at this point in the history
Fix bug where, upon asking for an open drain pin without a pullup, it…
  • Loading branch information
gfwilliams committed Mar 18, 2019
2 parents 8ce3550 + e0abf72 commit 8f247b3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/jshardware.h
Expand Up @@ -151,7 +151,6 @@ typedef enum {
0)
/// Should a pin of this state have an internal pullup?
#define JSHPINSTATE_IS_PULLUP(state) ( \
(state)==JSHPINSTATE_GPIO_OUT_OPENDRAIN || \
(state)==JSHPINSTATE_GPIO_OUT_OPENDRAIN_PULLUP || \
(state)==JSHPINSTATE_GPIO_IN_PULLUP || \
(state)==JSHPINSTATE_USART_IN || \
Expand Down

0 comments on commit 8f247b3

Please sign in to comment.