Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: SPI_TFTx2 TFT_fonts TOUCH_TFTx2 mbed
Fork of CANary by
Diff: utility.cpp
- Revision:
- 86:d1c9e8ac1c4b
- Parent:
- 85:5c27e88b3fbe
- Child:
- 87:46ac3f2519d6
--- a/utility.cpp Wed Apr 17 12:45:13 2013 +0000 +++ b/utility.cpp Wed Apr 17 20:41:14 2013 +0000 @@ -52,11 +52,10 @@ signed short packV; signed short packA; signed long imWs_x4; - unsigned short ts=0; //moved getTimeStamp call to inside debug loop for speed + unsigned short ts=getTimeStamp(); secsNoMsg=0; // reset deadman switch if(debugMode){ // code to insert actual number of dropped frames for overrun debug - skiped in normal mode to keep logcan short - ts = getTimeStamp(); if(logOpen){ if(canRXmsg.id>0) { // check to see if buffer is already full (read - write) = 1