diff options
-rw-r--r-- | src/testapp1/main.c | 22 |
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 - |