Commit a499957a authored by legoc's avatar legoc

format

parent 5528e7e9
......@@ -128,8 +128,8 @@ bool readEvent(Event & event, int32_t * buffer) {
} else if (boardType == V1724_BOARD_TYPE) {
// The timestamp is on 30bits
numberOfBitsOfTimestamp = 30;
event.timestamp = (uint32_t)(*(buffer + 1) & 0x3FFFFFFF);
event.energy = (uint16_t)(*(buffer + 2) & 0x7FFF);
} else if (boardType == V1730_BOARD_TYPE) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment