iowfehu;gdbjwHJAOPIHO?L

Fork of X_NUCLEO_IDW01M1 by ST

Files at this revision

API Documentation at this revision

Comitter:
mridup
Date:
Tue Apr 19 06:28:52 2016 +0000
Parent:
1:bd9db471d47d
Child:
3:fd9d20c4d3f0
Commit message:
removing static singular instance

Changed in this revision

SPWFInterface.cpp Show annotated file Show diff for this revision Revisions of this file
--- 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)