Vybhav Kadaba / Mbed OS EV-PRO-MW1001_82_25
Revision:
51:e013f4d2fb9a
Parent:
50:d84305e5e1c0
--- a/main.cpp	Mon Feb 17 11:23:39 2020 +0000
+++ b/main.cpp	Fri Mar 06 17:03:18 2020 +0000
@@ -56,10 +56,7 @@
 extern ADMW_CONFIG multichannel_continuous_config;
 extern ADMW_CONFIG multichannel_singlecycle_config;
 extern ADMW_CONFIG i2c0_sensirionSHT3X_config;
-/* Use the following config if adding a configuration file from measureware designer*/
-extern ADMW_CONFIG measureware_config;
-
-/* Change the following pointer to load or change the configurations  */
+/* Change the following pointer to select any of the configurations above */
 static ADMW_CONFIG *pSelectedConfig = &thermocouple_typeK_cjc0_config;
 
 static ADMW_CONNECTION connectionInfo = PLATFORM_CONNECTION_INFO;
@@ -67,7 +64,6 @@
 
 int main()
 {
-
     ADMW_RESULT res;
     ADMW_STATUS status;
     ADMW_DEVICE_HANDLE hDevice;
@@ -123,7 +119,7 @@
      * Check device status after updating the configuration
      */
     res = admw_GetStatus(hDevice, &status);
-    admw_deviceInformation(hDevice);
+    deviceInformation(hDevice);
     if (res != ADMW_SUCCESS) {
         ADMW_LOG_ERROR("Failed to retrieve device status");
         return res;