Code clean up and handling FIFO errors

Revision:
50:d84305e5e1c0
Parent:
39:e255f52072fc
Child:
55:215da406282b
diff -r c31473bc013e -r d84305e5e1c0 common/utils.c
--- a/common/utils.c	Thu Feb 06 11:04:31 2020 +0000
+++ b/common/utils.c	Mon Feb 17 11:23:39 2020 +0000
@@ -134,7 +134,7 @@
 {
 
     for (uint32_t i = 0; i < nNumSamples; i++) {
-        ADMW_LOG_INFO("Sample # %2d Channel # %2d :: Raw %0X %f :: Processed %f :: flags:%s%s",
+        ADMW_LOG_INFO("Sample # %2d Channel # %2d :: Raw %X %f :: Processed %f :: flags:%s%s",
                       i+1,
                       pSampleBuffer[i].channelId,
                       pSampleBuffer[i].rawValue, (pSampleBuffer[i].rawValue/1024.0),