pastebin - collaborative debugging tool
eckelmann.kpaste.net RSS

Difference between
modified post 29b593 by Anonymous on Mon 21st Oct 2019 14:44
original post 5a850ae94 by Anonymous on Mon 21st Oct 2019 14:09
Download diff
Show old version | new version | both versions

    
11
diff --git a/ptxdist/local_src/ecu01-codesys/io_driver/ecu01softcompcap.cpp b/ptxdist/local_src/ecu01-codesys/io_driver/ecu01softcompcap.cpp
2-
index c5c85b5..653eb95 100644
2+
index c5c85b5..78440b7 100644
33
--- a/ptxdist/local_src/ecu01-codesys/io_driver/ecu01softcompcap.cpp
44
+++ b/ptxdist/local_src/ecu01-codesys/io_driver/ecu01softcompcap.cpp
5-
@@ -45,26 +45,29 @@
5+
@@ -32,6 +32,7 @@
6+
 #include <time.h>
610
7-
 // ****************************************************************************
11+
 /*****************************************************************************/
8-
 // function: diffUSec
12+
 /*    here: Defines                                                          */
9-
 // ****************************************************************************
13+
@@ -54,7 +55,10 @@ static inline int diffUSec(struct timespec t1, struct timespec t2)
14+
    // calculate and return the difference of t1 and t2 in microseconds
1015
16+
    diff = USEC_PER_SEC * ((int) t1.tv_sec - (int) t2.tv_sec);

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at