aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2014-07-13 23:26:05 +0200
committerMatthias P. Braendli <matthias.braendli@mpb.li>2014-07-13 23:26:05 +0200
commit774ea18aeadb06573fa3012e3c03e6a88753d655 (patch)
treebc08795c87193a955662d70c28e6d6ecdaedf694
parentceab8d5e721f7d8a7b3af75b1c3c43e22d650fe0 (diff)
downloadrenard_hb9hi-774ea18aeadb06573fa3012e3c03e6a88753d655.tar.gz
renard_hb9hi-774ea18aeadb06573fa3012e3c03e6a88753d655.tar.bz2
renard_hb9hi-774ea18aeadb06573fa3012e3c03e6a88753d655.zip
Remove old code block
-rw-r--r--src/testapp1/main.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/testapp1/main.c b/src/testapp1/main.c
index 9ce1456..e84549d 100644
--- a/src/testapp1/main.c
+++ b/src/testapp1/main.c
@@ -102,25 +102,3 @@ int main ( void )
return 0;
}
-#if 0
-static void some_old_function(uint32_t data)
-{
- uint32_t test_status;
- int sleep_ticks;
-
- /* Enable all LEDs */
- DDRB = 0xFF;
- PORTB = 0xFF;
-
- /* Flash LED once per second if passed, very quickly if failed */
- sleep_ticks = (test_status == 0) ? SYSTEM_TICKS_PER_SEC : (SYSTEM_TICKS_PER_SEC/8);
-
- /* Test finished, flash slowly for pass, fast for fail */
- while (1)
- {
- /* Toggle a LED */
- PORTB ^= (1 << 0);
- }
-}
-#endif
-