diff options
author | Christian Pointner <equinox@spreadspace.org> | 2013-08-17 12:45:13 +0000 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2013-08-17 12:45:13 +0000 |
commit | 3ace23e881f35fa78d9195f2c04e08e96a2cfea3 (patch) | |
tree | 94a303dada0fa5392fbdd3c9d104614e8b6b033d /tuer-rfid/ledmatrix.c | |
parent | fixed Board definition for teenstep (diff) |
whitespace cleanups
git-svn-id: https://svn.spreadspace.org/avr/trunk@218 aa12f405-d877-488e-9caf-2d797e2a1cc7
Diffstat (limited to 'tuer-rfid/ledmatrix.c')
-rw-r--r-- | tuer-rfid/ledmatrix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tuer-rfid/ledmatrix.c b/tuer-rfid/ledmatrix.c index c319b6d..0496c31 100644 --- a/tuer-rfid/ledmatrix.c +++ b/tuer-rfid/ledmatrix.c @@ -54,7 +54,7 @@ void ledmatrix_stop_timer(void) } void ledmatrix_off_init(void) -{ +{ LEDMATRIX_PORT = LEDMATRIX_MASK; LEDMATRIX_PORT |= 1<<LEDMATRIX_RED | 1<<LEDMATRIX_GREEN; } @@ -184,7 +184,7 @@ void ledmatrix_init(void) void ledmatrix_set(ledmatrix_mode_t m) { - if(m == mode) + if(m == mode) return; mode = m; |