Vybhav Kadaba
/
EV-PRO-MW1001_Development_v11570
Mbed FW update
Diff: main.cpp
- Revision:
- 14:266ab283b086
- Parent:
- 12:8f21099b8028
- Child:
- 15:b5d57daeb7c0
--- a/main.cpp Thu Jul 25 06:38:45 2019 +0000 +++ b/main.cpp Thu Jul 25 11:46:20 2019 +0000 @@ -78,7 +78,7 @@ #include "admw_log.h" #include "common/utils.h" #include "common/platform.h" - +#include "admw1001/ADMW1001_REGISTERS.h" @@ -97,6 +97,7 @@ static ADMW_CONNECTION connectionInfo = PLATFORM_CONNECTION_INFO; + int main() { ADMW_RESULT res; @@ -114,7 +115,7 @@ ADMW_LOG_ERROR("Failed to open device instance"); return res; } - + /* * Reset the given ADI Sense device.... */ @@ -160,6 +161,7 @@ * Check device status after updating the configuration */ res = admw_GetStatus(hDevice, &status); + deviceInformation(hDevice); if (res != ADMW_SUCCESS) { ADMW_LOG_ERROR("Failed to retrieve device status");