]> www.fi.muni.cz Git - bike-lights.git/commitdiff
delete unused function led_set_level
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 29 Aug 2012 22:47:24 +0000 (00:47 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Fri, 31 Aug 2012 21:08:11 +0000 (23:08 +0200)
pattern.c

index 9999749fd2fe794952bbc16d83cc6f8704486636..23d747e707044b3c10a71a1a148c15325d99b774 100644 (file)
--- a/pattern.c
+++ b/pattern.c
@@ -128,13 +128,6 @@ static void led_set_mode(unsigned char n, unsigned char mode)
        }
 }
 
-static void inline led_set_level(unsigned char n, unsigned char level)
-{
-       if (n == N_PWMLEDS) {
-               gpio_set(GPIO_LED2, 1);
-       }
-}
-
 void patterns_next_tick()
 {
        unsigned char i;