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.
Fork of NVIC_set_all_priorities by
Revision 2:676bbfffe9f6, committed 2013-10-02
- Comitter:
- SolderSplashLabs
- Date:
- Wed Oct 02 20:18:37 2013 +0000
- Parent:
- 1:c091f2dbc0e5
- Commit message:
- Fixed LPC13xx define
Changed in this revision
NVIC_set_all_priorities.cpp | Show annotated file Show diff for this revision Revisions of this file |
NVIC_set_all_priorities.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/NVIC_set_all_priorities.cpp Wed Oct 02 16:59:40 2013 +0000 +++ b/NVIC_set_all_priorities.cpp Wed Oct 02 20:18:37 2013 +0000 @@ -14,5 +14,5 @@ { int irqnum; for(irqnum = first_IRQ_number ; irqnum < last_IRQ_number + 1 ; irqnum++) - NVIC_SetPriority((IRQn)irqnum, priority); + NVIC_SetPriority((IRQn_Type)irqnum, priority); }
--- a/NVIC_set_all_priorities.h Wed Oct 02 16:59:40 2013 +0000 +++ b/NVIC_set_all_priorities.h Wed Oct 02 20:18:37 2013 +0000 @@ -19,7 +19,7 @@ #elif defined LPC11XX first_IRQ_number = SysTick_IRQn, last_IRQ_number = EINT0_IRQn, -#elif defined LPC13XX +#elif defined TARGET_LPC13XX first_IRQ_number = SysTick_IRQn, last_IRQ_number = Reserved5_IRQn, #elif defined LPC23XX