Skip to content

Commit 2d8c153

Browse files
committed
STMOD_CELLULAR: set CTS with PullDown
1 parent 31114ba commit 2d8c153

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)