Skip to content

Commit 4445a11

Browse files
committed
Add pulldown support to PinMode enum and fix pullup value to match register definition
1 parent 5dea203 commit 4445a11

File tree

1 file changed

+2
-1
lines changed
  • libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KL46Z

1 file changed

+2
-1
lines changed

libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KL46Z/PinNames.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,8 @@ typedef enum {
234234
/* PullDown not available for KL46 */
235235
typedef enum {
236236
PullNone = 0,
237-
PullUp = 2,
237+
PullDown = 2,
238+
PullUp = 3
238239
} PinMode;
239240

240241
#ifdef __cplusplus

0 commit comments

Comments
 (0)