STMOD_CELLULAR: set CTS with PullDown

pull/11894/head
jeromecoutant 2019-10-03 15:26:32 +02:00 committed by adbridge
parent ea448f5144
commit 82ecd19e9c
1 changed files with 2 additions and 0 deletions

View File

@ -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);