diff options
author | theshed <theshed@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-04-08 21:16:36 +0000 |
---|---|---|
committer | theshed <theshed@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-04-08 21:16:36 +0000 |
commit | 53c164a93bc23f84d0a31ce4ddd850b5408c1a93 (patch) | |
tree | 55722976e38aa05ed7581a133423ea43d6ab5d06 /os/hal/platforms/LPC8xx/gpt_lld.c | |
parent | f2e40f1ace6b9539187bd0e2a98a50e0d863e87b (diff) | |
download | ChibiOS-53c164a93bc23f84d0a31ce4ddd850b5408c1a93.tar.gz ChibiOS-53c164a93bc23f84d0a31ce4ddd850b5408c1a93.tar.bz2 ChibiOS-53c164a93bc23f84d0a31ce4ddd850b5408c1a93.zip |
remove trailing whitespace
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5575 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/LPC8xx/gpt_lld.c')
-rw-r--r-- | os/hal/platforms/LPC8xx/gpt_lld.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/os/hal/platforms/LPC8xx/gpt_lld.c b/os/hal/platforms/LPC8xx/gpt_lld.c index 94ff38d69..44601272b 100644 --- a/os/hal/platforms/LPC8xx/gpt_lld.c +++ b/os/hal/platforms/LPC8xx/gpt_lld.c @@ -171,7 +171,7 @@ void gpt_lld_init(void) { void gpt_lld_start(GPTDriver *gptp) {
if( !clk_enabled ) {
-
+
/* Enable clock & reset MRT */
LPC_SYSCON->SYSAHBCLKCTRL |= (1<<10);
LPC_SYSCON->PRESETCTRL &= ~(1<<7);
@@ -179,7 +179,7 @@ void gpt_lld_start(GPTDriver *gptp) { nvicEnableVector(MRT_IRQn,
CORTEX_PRIORITY_MASK(LPC8xx_GPT_MRT_IRQ_PRIORITY));
-
+
clk_enabled |= gptp->mask;
}
@@ -206,7 +206,7 @@ void gpt_lld_stop(GPTDriver *gptp) { /* Shared peripheral -
mark this channel as disabled */
clk_enabled &= ~gptp->mask;
-
+
/* All channels disabled? */
if( !clk_enabled )
{
@@ -268,7 +268,7 @@ void gpt_lld_polled_delay(GPTDriver *gptp, gptcnt_t interval) { while (gptp->tmr->STAT & (1<<1))
;
-
+
gptp->tmr->CTRL = 0;
gptp->tmr->STAT |= 1;
}
|