aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms/LPC8xx/gpt_lld.c
diff options
context:
space:
mode:
authortheshed <theshed@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-04-08 21:16:36 +0000
committertheshed <theshed@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-04-08 21:16:36 +0000
commit53c164a93bc23f84d0a31ce4ddd850b5408c1a93 (patch)
tree55722976e38aa05ed7581a133423ea43d6ab5d06 /os/hal/platforms/LPC8xx/gpt_lld.c
parentf2e40f1ace6b9539187bd0e2a98a50e0d863e87b (diff)
downloadChibiOS-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.c8
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;
}