Code clean up and handling FIFO errors

Revision:
63:2655a04c00f5
Parent:
62:a5b88f433406
diff -r a5b88f433406 -r 2655a04c00f5 rtd_4w_config.c
--- a/rtd_4w_config.c	Wed Apr 08 10:05:08 2020 +0000
+++ b/rtd_4w_config.c	Tue Apr 14 06:43:47 2020 +0000
@@ -84,7 +84,7 @@
                     .filter = {
                         .type = ADMW1001_ADC_FILTER_SINC3,
                         .sf = ADMW1001_SF_8P24HZ,
-                        .chopMode = ADMW1001_CHOP_MD_SW,
+                        .chopMode = ADMW1001_CHOP_MD_ON,
                         .notch1p2 = true
                     },
                     .reference = ADMW1001_ADC_REFERENCE_VOLTAGE_INTERNAL,