Skip to content
This repository has been archived by the owner on Aug 27, 2023. It is now read-only.

Commit

Permalink
ARM: rename timer-arm.c to timer-lpc.c
Browse files Browse the repository at this point in the history
  • Loading branch information
Wurstnase committed Mar 3, 2017
1 parent c83ada5 commit a1ba27f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions timer-arm.c → timer-lpc.c
Expand Up @@ -5,7 +5,7 @@
To be included from timer.c.
*/

#if defined TEACUP_C_INCLUDE && defined __ARMEL__
#if defined TEACUP_C_INCLUDE && defined __ARM_LPC1114__

#include "cmsis-core_cm0.h"
#include "clock.h"
Expand Down Expand Up @@ -223,4 +223,4 @@ void timer_stop() {
SysTick->CTRL = 0;
}

#endif /* defined TEACUP_C_INCLUDE && defined __ARMEL__ */
#endif /* defined TEACUP_C_INCLUDE && defined __ARM_LPC1114__ */
2 changes: 1 addition & 1 deletion timer.c
Expand Up @@ -10,7 +10,7 @@

#define TEACUP_C_INCLUDE
#include "timer-avr.c"
#include "timer-arm.c"
#include "timer-lpc.c"
#undef TEACUP_C_INCLUDE

// No common code so far.

0 comments on commit a1ba27f

Please sign in to comment.