mirror of https://github.com/ARMmbed/mbed-os.git
Add pulldown support to PinMode enum and fix pullup value to match register definition
parent
5dea203d16
commit
4445a11673
|
|
@ -234,7 +234,8 @@ typedef enum {
|
|||
/* PullDown not available for KL46 */
|
||||
typedef enum {
|
||||
PullNone = 0,
|
||||
PullUp = 2,
|
||||
PullDown = 2,
|
||||
PullUp = 3
|
||||
} PinMode;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
|||
Loading…
Reference in New Issue