Arianna autonomous DAQ firmware
Dependencies: mbed SDFileSystemFilinfo AriSnProtocol NetServicesMin AriSnComm MODSERIAL PowerControlClkPatch DS1820OW
Diff: SnEventFrame.h
- Revision:
- 3:24c5f0f50bf1
- Parent:
- 1:e392595b4b76
- Child:
- 8:95a325df1f6b
--- a/SnEventFrame.h Tue Jul 24 02:07:23 2012 +0000 +++ b/SnEventFrame.h Tue Jul 31 04:59:16 2012 +0000 @@ -102,13 +102,13 @@ return ((p*kTotSamps)/8u) + (((p*kTotSamps)%8u)!=0 ? 1u : 0u); } - void ReadFrom(const char* const buf, - const uint8_t loseLSB, const uint8_t loseMSB, - const uint16_t wvBaseline); + const char* ReadFrom(const char* const buf, + const uint8_t loseLSB, const uint8_t loseMSB, + const uint16_t wvBaseline); - void WriteTo(char* const buf, - const uint8_t loseLSB, const uint8_t loseMSB, - const uint16_t wvBaseline) const; + char* WriteTo(char* const buf, + const uint8_t loseLSB, const uint8_t loseMSB, + const uint16_t wvBaseline) const; bool ReadFrom(FILE* f, char* const evtBuf, const uint8_t loseLSB, const uint8_t loseMSB,