Vybhav Kadaba
/
EV-PRO-MW1001_Development_code_cleaup
Removed unwanted enums and unused functions
Diff: src/admw_1001.c
- Revision:
- 57:c6275de14bc5
- Parent:
- 56:38b36e947602
- Child:
- 58:aa9cd5072f66
--- a/src/admw_1001.c Mon Feb 24 08:49:25 2020 +0000 +++ b/src/admw_1001.c Fri Mar 06 05:32:12 2020 +0000 @@ -903,7 +903,7 @@ ADMW_CORE_Mode_t modeReg; READ_REG_U8(hDevice, modeReg.VALUE8, CORE_MODE); - if (eMeasurementMode == (modeReg.Conversion_Mode == CORE_MODE_SINGLECYCLE)) + if (modeReg.Conversion_Mode == CORE_MODE_SINGLECYCLE) *peOperatingMode = ADMW1001_OPERATING_MODE_SINGLECYCLE; else *peOperatingMode = ADMW1001_OPERATING_MODE_CONTINUOUS;