diff --git a/arch/arm/src/c5471/c5471_ethernet.c b/arch/arm/src/c5471/c5471_ethernet.c index 9c34efeb38..a736726bc3 100644 --- a/arch/arm/src/c5471/c5471_ethernet.c +++ b/arch/arm/src/c5471/c5471_ethernet.c @@ -1349,7 +1349,7 @@ static void c5471_receive(struct c5471_driver_s *c5471) else #endif #ifdef CONFIG_NET_ARP - else if (BUF->type == HTONS(ETHTYPE_ARP)) + if (BUF->type == HTONS(ETHTYPE_ARP)) { arp_arpin(dev); diff --git a/arch/arm/src/calypso/calypso_timer.c b/arch/arm/src/calypso/calypso_timer.c index a4ddcfddc7..e1a2fcdf46 100644 --- a/arch/arm/src/calypso/calypso_timer.c +++ b/arch/arm/src/calypso/calypso_timer.c @@ -116,22 +116,25 @@ uint16_t hwtimer_read(int num) #define BASE_ADDR_WDOG 0xfffff800 #define WDOG_REG(m) (BASE_ADDR_WDOG + m) -enum wdog_reg { - WD_CNTL_TIMER = CNTL_TIMER, - WD_LOAD_TIMER = LOAD_TIMER, - WD_READ_TIMER = 0x02, - WD_MODE = 0x04, +enum wdog_reg +{ + WD_CNTL_TIMER = CNTL_TIMER, + WD_LOAD_TIMER = LOAD_TIMER, + WD_READ_TIMER = 0x02, + WD_MODE = 0x04, }; -enum wdog_ctl { - WD_CTL_START = (1 << 7), - WD_CTL_AUTO_RELOAD = (1 << 8) +enum wdog_ctl +{ + WD_CTL_START = (1 << 7), + WD_CTL_AUTO_RELOAD = (1 << 8) }; -enum wdog_mode { - WD_MODE_DIS_ARM = 0xF5, - WD_MODE_DIS_CONFIRM = 0xA0, - WD_MODE_ENABLE = (1 << 15) +enum wdog_mode +{ + WD_MODE_DIS_ARM = 0xF5, + WD_MODE_DIS_CONFIRM = 0xA0, + WD_MODE_ENABLE = (1 << 15) }; #define WD_CTL_PRESCALE(value) (((value)&0x07) << 9)