Vybhav Kadaba
/
EV-PRO-MW1001_MWARE_2042
Adding mbed FW version and release notes
Diff: main.cpp
- Revision:
- 17:2f0028880874
- Parent:
- 16:327cea5a86e9
- Child:
- 18:cbf514cce921
diff -r 327cea5a86e9 -r 2f0028880874 main.cpp --- a/main.cpp Fri Jul 26 11:30:25 2019 +0000 +++ b/main.cpp Wed Aug 07 06:46:25 2019 +0000 @@ -92,8 +92,9 @@ extern ADMW_CONFIG multichannel_multicycle_config; extern ADMW_CONFIG multichannel_singlecycle_config; extern ADMW_CONFIG sensor2_bridge_4w_load_cell_config; +extern ADMW_CONFIG config; /* Change the following pointer to select any of the configurations above */ -static ADMW_CONFIG *pSelectedConfig = &sensor2_bridge_4w_load_cell_config; +static ADMW_CONFIG *pSelectedConfig = &config; static ADMW_CONNECTION connectionInfo = PLATFORM_CONNECTION_INFO; @@ -105,7 +106,7 @@ ADMW_DEVICE_HANDLE hDevice; ADMW_MEASUREMENT_MODE eMeasurementMode = ADMW_MEASUREMENT_MODE_NORMAL; bool bDeviceReady; - + /* * Open an ADI Sense device instance. */ @@ -139,7 +140,6 @@ } } while (! bDeviceReady); ADMW_LOG_INFO("ADI Sense device ready"); - /* * Write configuration settings to the device registers. * Settings are not applied until admw_ApplyConfigUpdates() is called.