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:
- 91:33ab084a184f
- Parent:
- 89:2263d349b484
- Child:
- 92:935adef49ea4
--- a/utility.cpp Sat Apr 20 19:37:40 2013 +0000 +++ b/utility.cpp Mon Apr 22 02:22:04 2013 +0000 @@ -17,7 +17,7 @@ LPC_RTC->ILR=0x00; // set up the RTC interrupts LPC_RTC->CIIR=0x01; // interrupts each second LPC_RTC->CCR = 0x01; // Clock enable - //NVIC_SetPriority( RTC_IRQn, 10 ); + NVIC_SetPriority( RTC_IRQn, 1 ); NVIC_EnableIRQ( RTC_IRQn ); } @@ -48,10 +48,8 @@ static unsigned short nLost = 0; // gg - overrun char sTemp[40]; - unsigned char changed; - unsigned short i; // was unsigned char - signed short packV; - signed short packA; + unsigned char changed, i; + signed short packV, packA; signed long imWs_x4; unsigned short ts;