diff options
author | Perry Hung <iperry@alum.mit.edu> | 2010-03-31 21:29:29 -0400 |
---|---|---|
committer | Perry Hung <iperry@alum.mit.edu> | 2010-03-31 21:29:29 -0400 |
commit | 25c7ba0ed78aea0a368bc178dd720a845dd515ac (patch) | |
tree | 86be2502247dc0dd831191ae219a62875daad97c /core/time.c | |
parent | 4e51e057bb5a8d6b3475d2202af8a2a2caf9ba7b (diff) | |
download | librambutan-25c7ba0ed78aea0a368bc178dd720a845dd515ac.tar.gz librambutan-25c7ba0ed78aea0a368bc178dd720a845dd515ac.zip |
Removed inttypes.h
Removed inttypes.h from libmaple. Will have another pass through to use
the standard libmaple types, but will come in another commit.
Diffstat (limited to 'core/time.c')
-rw-r--r-- | core/time.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/core/time.c b/core/time.c index 164d978..4e20908 100644 --- a/core/time.c +++ b/core/time.c @@ -30,9 +30,9 @@ #define CYCLES_PER_MICROSECOND 72 #define FUDGE 42 -extern volatile uint32_t systick_timer_millis; +extern volatile uint32 systick_timer_millis; -unsigned long millis() { +uint32 millis() { unsigned long m; m = systick_timer_millis; return m; @@ -49,9 +49,9 @@ void delay(unsigned long ms) #if 1 -void delayMicroseconds(uint32_t us) { - uint32_t target; - uint32_t last, cur, count; +void delayMicroseconds(uint32 us) { + uint32 target; + uint32 last, cur, count; /* fudge factor hacky hack hack for function overhead */ target = us * CYCLES_PER_MICROSECOND - FUDGE; |