style
This commit is contained in:
1 parent
8d6bde0d63
commit
ffa3e2a0f8
5 files changed
+72
-72
No files matched your search
+1
-1
@@ -187,7 +187,7 @@ uint32_t RAMFUNC GetCountSspClk(void) {
|
||||
|
||||
uint32_t RAMFUNC GetCountSspClkDelta(uint32_t start) {
|
||||
uint32_t stop = GetCountSspClk();
|
||||
if ( stop >= start )
|
||||
if (stop >= start)
|
||||
return stop - start;
|
||||
return (UINT32_MAX - start) + stop;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user