Skip to content

Commit 680afcb

Browse files
jamikeMichel JAOUEN
authored andcommitted
[STM32F3]: fix iar built (cast error)
1 parent ce83029 commit 680afcb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hal/targets/hal/TARGET_STM/TARGET_STM32F3/gpio_object.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ typedef struct {
4444
PinName pin;
4545
uint32_t mask;
4646
__IO uint32_t *reg_in;
47-
__IO uint16_t *reg_set;
48-
__IO uint16_t *reg_clr;
47+
__IO uint32_t *reg_set;
48+
__IO uint32_t *reg_clr;
4949
} gpio_t;
5050

5151
static inline void gpio_write(gpio_t *obj, int value)

0 commit comments

Comments
 (0)