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.
Dependents: registers-example RedWireBridge
Revision 2:276fb0fe230c, committed 2013-01-03
- Comitter:
- elevatorguy
- Date:
- Thu Jan 03 05:25:18 2013 +0000
- Parent:
- 1:0b44a0a56f92
- Commit message:
- fix
Changed in this revision
Ticker.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/Ticker.cpp Thu Jan 03 05:10:21 2013 +0000 +++ b/Ticker.cpp Thu Jan 03 05:25:18 2013 +0000 @@ -83,7 +83,7 @@ { func = (uint32_t)funcaddr; //pointer to function address interval = secinterval*10000; - remaining = secinterval*10000 - 1; // 100 microsecond resolution + remaining = secinterval*10000; // 100 microsecond resolution tickers[active_tickers] = this; active_tickers = active_tickers + 1; active = true;