Skip to content

Commit b54315e

Browse files
authored
Merge pull request #11623 from jeromecoutant/PR_CELLULAR_CTS
STMOD_CELLULAR: set CTS with PullDown
2 parents 2fe1468 + 2d8c153 commit b54315e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/cellular/COMPONENT_STMOD_CELLULAR/STModCellular.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,8 @@ nsapi_error_t STModCellular::soft_power_on()
113113
if ((MBED_CONF_STMOD_CELLULAR_CTS != NC) && (MBED_CONF_STMOD_CELLULAR_RTS != NC)) {
114114
tr_debug("Enable flow control\r\n");
115115

116+
pin_mode(MBED_CONF_STMOD_CELLULAR_CTS, PullDown);
117+
116118
_at->lock();
117119
// enable CTS/RTS flowcontrol
118120
_at->set_stop_tag(mbed::OK);

0 commit comments

Comments
 (0)