Code clean up and handling FIFO errors

Revision:
63:2655a04c00f5
Parent:
56:38b36e947602
Child:
65:d91e1d63153d
--- a/common/utils.c	Wed Apr 08 10:05:08 2020 +0000
+++ b/common/utils.c	Tue Apr 14 06:43:47 2020 +0000
@@ -71,21 +71,7 @@
             ADMW_LOG_INFO("\t\tLast Error Code: %u (0x%X)",
                           pStatus->errorCode, pStatus->errorCode);
 
-            if (pStatus->diagnosticsStatus == 0) {
-                ADMW_LOG_INFO("\t\tNo diagnostics faults detected");
-            } else {
-                ADMW_LOG_INFO("\t\tActive diagnostics faults:");
-
-                if (pStatus->diagnosticsStatus & ADMW_DIAGNOSTICS_STATUS_CHECKSUM_ERROR)
-                    ADMW_LOG_INFO("\t\t\tInternal Checksum fault detected");
-
-
-
-                if (pStatus->diagnosticsStatus & ADMW_DIAGNOSTICS_STATUS_CONVERSION_ERROR)
-                    ADMW_LOG_INFO("\t\t\tInternal ADC Conversions fault detected");
-                if (pStatus->diagnosticsStatus & ADMW_DIAGNOSTICS_STATUS_CALIBRATION_ERROR)
-                    ADMW_LOG_INFO("\t\t\tInternal Device Calibrations fault detected");
-            }
+            
         }
 
         if (pStatus->deviceStatus & ADMW_DEVICE_STATUS_ALERT) {