From 17dd12c4cef8690df87954bf6364184a5c119ea9 Mon Sep 17 00:00:00 2001 From: Marcus Chang Date: Mon, 1 Oct 2018 15:34:03 -0700 Subject: [PATCH] Use Mbed config system to choose default flow control pins --- ESP8266Interface.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ESP8266Interface.h b/ESP8266Interface.h index 20d5813..7735b67 100644 --- a/ESP8266Interface.h +++ b/ESP8266Interface.h @@ -40,7 +40,7 @@ class ESP8266Interface : public NetworkStack, public WiFiInterface * @param rx RX pin * @param debug Enable debugging */ - ESP8266Interface(PinName tx, PinName rx, bool debug=false, PinName rts=NC, PinName cts=NC); + ESP8266Interface(PinName tx, PinName rx, bool debug=false, PinName rts=MBED_CONF_ESP8266_RTS, PinName cts=MBED_CONF_ESP8266_CTS); /** Start the interface *