diff options
| author | Daniel Campora | 2015-04-07 09:13:56 +0200 |
|---|---|---|
| committer | Daniel Campora | 2015-04-07 10:50:20 +0200 |
| commit | c7acfc90b947d4d4882b262a6c2a601041ce0b52 (patch) | |
| tree | 5b7a9c062d3756b08c29643db74ab742d5bc8685 /cc3200 | |
| parent | c9aa1883ed87da61d5745036dc55c382c3f4d6ca (diff) | |
cc3200: Enable pull-ups for the STDIO UART pins.
Diffstat (limited to 'cc3200')
| -rw-r--r-- | cc3200/mptask.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cc3200/mptask.c b/cc3200/mptask.c index 66bacf7f1..cc2c6d8bf 100644 --- a/cc3200/mptask.c +++ b/cc3200/mptask.c @@ -137,8 +137,8 @@ soft_reset: // configure the stdio uart pins with the correct alternate functions // param 3 ("mode") is DON'T CARE" for AFs others than GPIO - pin_config ((pin_obj_t *)&pin_GPIO1, PIN_MODE_3, 0, PIN_TYPE_STD, PIN_STRENGTH_2MA); - pin_config ((pin_obj_t *)&pin_GPIO2, PIN_MODE_3, 0, PIN_TYPE_STD, PIN_STRENGTH_2MA); + pin_config ((pin_obj_t *)&pin_GPIO1, PIN_MODE_3, 0, PIN_TYPE_STD_PU, PIN_STRENGTH_2MA); + pin_config ((pin_obj_t *)&pin_GPIO2, PIN_MODE_3, 0, PIN_TYPE_STD_PU, PIN_STRENGTH_2MA); // instantiate the stdio uart mp_obj_t args[2] = { mp_obj_new_int(MICROPY_STDIO_UART), |
