Extending the X_NUCLEO_IDW01M1 to allow configuration of the board as an access point
Dependents: X_NUCLEO_IDW01M1_AP_Test
Fork of X_NUCLEO_IDW01M1 by
Diff: SPWFInterface.cpp
- Revision:
- 2:bf3b3c6ce3a0
- Parent:
- 1:bd9db471d47d
- Child:
- 3:fd9d20c4d3f0
--- a/SPWFInterface.cpp Thu Apr 14 06:14:14 2016 +0000 +++ b/SPWFInterface.cpp Tue Apr 19 06:28:52 2016 +0000 @@ -22,19 +22,6 @@ #define SPWF_RECV_TIMEOUT 10000 #define SPWF_MISC_TIMEOUT 15000 -/** - * The singleton which represents the SpwfSAInterface. - * - */ -static SpwfSAInterface spwf_device(PA_9, PA_10, PC_12, PC_8, PA_12, true); - -/** -* Export the instance to the user. -*/ -SpwfSAInterface *createSPWFInstance(void) -{ - return (&spwf_device); -} // SpwfSAInterface implementation SpwfSAInterface::SpwfSAInterface(PinName tx, PinName rx, PinName rst, PinName wkup, PinName rts, bool debug)