diff options
author | NIIBE Yutaka <gniibe@fsij.org> | 2016-06-30 16:23:29 +0900 |
---|---|---|
committer | NIIBE Yutaka <gniibe@fsij.org> | 2016-06-30 16:23:29 +0900 |
commit | a2a29146a6d7327f8e159fedb6060b77cff46021 (patch) | |
tree | 7718a02b3ee9f8a9c8407374f90fecd8839c8d9f /example-fsm-55/hh.c | |
parent | e7bd234a0daeff4c16ef80f1529aa1f9dd500697 (diff) |
const pointer cleanup
Diffstat (limited to 'example-fsm-55/hh.c')
-rw-r--r-- | example-fsm-55/hh.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/example-fsm-55/hh.c b/example-fsm-55/hh.c index 1567c41..8575383 100644 --- a/example-fsm-55/hh.c +++ b/example-fsm-55/hh.c @@ -34,8 +34,8 @@ struct GPIO { #define GPIOF_BASE (AHB2PERIPH_BASE + 0x1400) #define GPIOF ((struct GPIO *) GPIOF_BASE) -static struct GPIO *const GPIO_LED = ((struct GPIO *const) GPIO_LED_BASE); -static struct GPIO *const GPIO_OTHER = ((struct GPIO *const) GPIO_OTHER_BASE); +static struct GPIO *const GPIO_LED = ((struct GPIO *)GPIO_LED_BASE); +static struct GPIO *const GPIO_OTHER = ((struct GPIO *)GPIO_OTHER_BASE); static chopstx_mutex_t mtx; static chopstx_cond_t cnd0, cnd1; @@ -438,7 +438,7 @@ struct SCB #define SCS_BASE (0xE000E000) #define SCB_BASE (SCS_BASE + 0x0D00) -static struct SCB *const SCB = ((struct SCB *const) SCB_BASE); +static struct SCB *const SCB = ((struct SCB *)SCB_BASE); #define SCB_SCR_SLEEPDEEP (1 << 2) |