Arianna autonomous DAQ firmware

Dependencies:   mbed SDFileSystemFilinfo AriSnProtocol NetServicesMin AriSnComm MODSERIAL PowerControlClkPatch DS1820OW

Revision:
42:ac162d15e578
Parent:
40:1324da35afd4
Child:
56:0bba0ef15697
--- a/SnEventFrame.cpp	Tue Oct 08 23:44:00 2013 +0000
+++ b/SnEventFrame.cpp	Wed Oct 30 21:15:33 2013 +0000
@@ -78,8 +78,10 @@
 
 void SnEventFrame::CalcCRC() {
     // CRC made using union on a little endian (mbed) processor
-    fCRC = 0u;
-    SnCRCUtils::GetCRC32for(fData, kTotSamps);
+    fCRC = SnCRCUtils::GetCRC32for(fData, kTotSamps);
+#ifdef DEBUG
+    printf("SnEventFrame::CalcCRC  crc=%u\r\n",fCRC);
+#endif
 }
 
 bool SnEventFrame::ReadFromFileToBuf(FILE* f,