]> www.fi.muni.cz Git - openparking.git/commitdiff
Remove unused function do_measurements()
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Fri, 22 May 2015 20:17:50 +0000 (22:17 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Fri, 22 May 2015 20:19:23 +0000 (22:19 +0200)
firmware/firmware.c

index d70705d5993c25a2ce5829200e12d38a2349c6c3..eb064cd8b79f3b97511ab9d2030eeae6002fc715 100644 (file)
@@ -85,16 +85,6 @@ static void do_measurement(unsigned char trig)
                        distances[trig*N_TRIG_SENSORS + i] = 0;
 }
 
-static void do_measurements()
-{
-       uint8_t trig;
-
-       for (trig = 0; trig < N_TRIGGERS; trig++) {
-               do_measurement(trig);
-               _delay_ms(200);
-       }
-}
-
 static void led_set(uint8_t led, uint8_t state)
 {
        if (led == 0) {