Skip to content

Commit

Permalink
Merge pull request #11623 from jeromecoutant/PR_CELLULAR_CTS
Browse files Browse the repository at this point in the history
STMOD_CELLULAR: set CTS with PullDown
  • Loading branch information
0xc0170 authored Oct 15, 2019
2 parents 2fe1468 + 2d8c153 commit b54315e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ nsapi_error_t STModCellular::soft_power_on()
if ((MBED_CONF_STMOD_CELLULAR_CTS != NC) && (MBED_CONF_STMOD_CELLULAR_RTS != NC)) {
tr_debug("Enable flow control\r\n");

pin_mode(MBED_CONF_STMOD_CELLULAR_CTS, PullDown);

_at->lock();
// enable CTS/RTS flowcontrol
_at->set_stop_tag(mbed::OK);
Expand Down

0 comments on commit b54315e

Please sign in to comment.