Fork of original library to fix mbed 5 deprecation warnings
Dependencies: LPC1114_WakeInterruptIn
Fork of WakeUp by
Revision 6:815bef56e136, committed 2014-07-12
- Comitter:
- Sissors
- Date:
- Sat Jul 12 19:17:51 2014 +0000
- Parent:
- 5:89dae784c38f
- Child:
- 7:bb411115f814
- Commit message:
- Added K20D50M support
Changed in this revision
WakeUp_KLxxZ.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/WakeUp_KLxxZ.cpp Thu Feb 20 18:12:42 2014 +0000 +++ b/WakeUp_KLxxZ.cpp Sat Jul 12 19:17:51 2014 +0000 @@ -1,4 +1,4 @@ -#if defined TARGET_KLXX +#if defined(TARGET_KLXX) || defined(TARGET_K20D50M) #include "WakeUp.h" #include "us_ticker_api.h" @@ -15,7 +15,7 @@ void WakeUp::set_ms(uint32_t ms) { /* Clock the timer */ - SIM->SCGC5 |= SIM_SCGC5_LPTMR_MASK; + SIM->SCGC5 |= 0x1u; //Check if it is running, in that case, store current values remainder_count = 0;