Arianna autonomous DAQ firmware

Dependencies:   mbed SDFileSystemFilinfo AriSnProtocol NetServicesMin AriSnComm MODSERIAL PowerControlClkPatch DS1820OW

Revision:
26:b3180073c8ec
Parent:
25:57b2627fe756
Child:
27:efc4d654b139
--- a/SnCommWin.cpp	Tue Oct 30 05:23:57 2012 +0000
+++ b/SnCommWin.cpp	Tue Oct 30 06:02:32 2012 +0000
@@ -130,10 +130,10 @@
                     // wait for handshake
                     uint8_t hndshk=0;
                     res = WaitHandshake(curConf, handshakeTimeout, genBuf, bsize, hndshk);
-#ifdef DEBUG
                     if (hndres!=0) {
                         *hndres = hndshk;
                     }
+#ifdef DEBUG
                     printf("res=%d, nevts=%u, isdel=%d, inf=%p, curfile=%p, hndshk=%02x\r\n",
                         res, nevts, curConf.IsDeletingFiles(), inf,
                         SnSDUtils::GetCurFile(), hndshk);