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: FatFileSystem MSCFileSystem SPI_TFTx2 TFT_fonts TOUCH_TFTx2 beep mbed
Fork of CANary_corrupt by
Diff: utility.cpp
- Revision:
- 20:3bf176d14b14
- Parent:
- 13:62e0f7f39ff5
- Child:
- 22:a43df3905863
--- a/utility.cpp Thu Mar 07 04:39:23 2013 +0000 +++ b/utility.cpp Fri Mar 08 04:17:30 2013 +0000 @@ -5,8 +5,8 @@ void mbed_reset(); void RTC_IRQHandler() { timer.reset(); // zero ms at the-seconds-tic - canIdle=(++secsNoMsg>canTimeout); - userIdle=(++secsNoTouch>userTimeout); + canIdle=(++secsNoMsg>canTimeout)?true:false; + userIdle=(++secsNoTouch>userTimeout)?true:false; LPC_RTC->ILR |= (1<<0); // clear interrupt to prepare for next }