nsp specific components for the NSP version of the impact endpoint

Dependents:   mbed_nsp_endpoint_ublox_cellular mbed_nsp_endpoint_ublox_ethernet mbed_nsp_endpoint_nxp

Revision:
7:0207dfb9c36b
Parent:
6:edf306673e54
Child:
8:4060275b2246
--- a/MBEDEndpoint.cpp	Mon Mar 31 19:13:10 2014 +0000
+++ b/MBEDEndpoint.cpp	Mon Mar 31 20:03:43 2014 +0000
@@ -110,8 +110,9 @@
  bool MBEDEndpoint::initializePersonalities() {
  #ifdef LIGHT_PERSONALITY
     return this->initializeLights();
- #else
-    return false;
+ #endif
+ #ifdef COPCAR_PERSONALITY
+    return this->initializeLights();
  #endif
  }
   
@@ -141,8 +142,9 @@
  ResourceFactory *MBEDEndpoint::initResourceFactory() { 
 #ifdef LIGHT_PERSONALITY
     return new NSPLightResourceFactory(this->logger(),(void *)this); 
-#else
-    return NULL;
+#endif
+#ifdef COPCAR_PERSONALITY
+    return new NSPLightResourceFactory(this->logger(),(void *)this); 
 #endif
  }