From e7c9fceaa47dfd983a069df6d16be9343e0e3b02 Mon Sep 17 00:00:00 2001 From: theShed Date: Fri, 1 Mar 2013 21:44:16 +0000 Subject: Fix some 'style' errors in the last checkin git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5343 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/LPC11Uxx/ext_lld.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/os/hal/platforms/LPC11Uxx/ext_lld.c b/os/hal/platforms/LPC11Uxx/ext_lld.c index c9bbbbca8..1a23f905c 100644 --- a/os/hal/platforms/LPC11Uxx/ext_lld.c +++ b/os/hal/platforms/LPC11Uxx/ext_lld.c @@ -113,7 +113,6 @@ void ext_lld_stop(EXTDriver *extp) { LPC_GPIO_PIN_INT->IST = EXT_CHANNELS_MASK; LPC_SYSCON->SYSAHBCLKCTRL &= ~(1<<19); - } /** @@ -126,10 +125,10 @@ void ext_lld_stop(EXTDriver *extp) { */ void ext_lld_channel_enable(EXTDriver *extp, expchannel_t channel) { - // program the IOpin for this channel + /* program the IOpin for this channel */ LPC_SYSCON->PINTSEL[channel] = extp->config->channels[channel].iopin; - // Programming edge irq enables + /* Programming edge irq enables */ if (extp->config->channels[channel].mode & EXT_CH_MODE_RISING_EDGE) LPC_GPIO_PIN_INT->SIENR = (1 << channel); else @@ -143,9 +142,8 @@ void ext_lld_channel_enable(EXTDriver *extp, expchannel_t channel) { LPC_GPIO_PIN_INT->RISE = (1<FALL = (1<IST = (1<RISE = (1 << channel); LPC_GPIO_PIN_INT->FALL = (1 << channel); LPC_GPIO_PIN_INT->IST = (1 << channel); - } #endif /* HAL_USE_EXT */ -- cgit v1.2.3