From 25c7ba0ed78aea0a368bc178dd720a845dd515ac Mon Sep 17 00:00:00 2001 From: Perry Hung Date: Wed, 31 Mar 2010 21:29:29 -0400 Subject: 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. --- libmaple/rcc.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libmaple/rcc.h') diff --git a/libmaple/rcc.h b/libmaple/rcc.h index 5c9591b..2af64e2 100644 --- a/libmaple/rcc.h +++ b/libmaple/rcc.h @@ -22,7 +22,7 @@ #define RCC_CFGR2 (RCC_BASE + 0x2C)) #define HSEON BIT(16) -#define HSERDY *(volatile uint32_t*)(BITBAND_PERI(RCC_CR + 2, 0)) +#define HSERDY *(volatile uint32*)(BITBAND_PERI(RCC_CR + 2, 0)) #define ADCPRE 0x0000C000 #define HPRE 0x000000F0 @@ -100,7 +100,7 @@ void rcc_init(void); -void rcc_set_adc_prescaler(uint32_t divider); +void rcc_set_adc_prescaler(uint32 divider); #endif -- cgit v1.2.3