]> www.fi.muni.cz Git - tinyboard.git/commitdiff
lights.h cleanup
authorJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 1 May 2013 22:31:18 +0000 (00:31 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 1 May 2013 22:31:18 +0000 (00:31 +0200)
projects/step-up/lights.h

index 04373789696f45f2aae5908ad260f36b0a47fb11..7a268ef161d6c9ae122810379f58b3a6448b2644 100644 (file)
@@ -1,12 +1,8 @@
 #ifndef LIGHTS_H__
 #define LIGHTS_H__ 1
 
-#define TESTING_FW 1
-
 #define N_PWMLED_MODES 4
 
-#define N_BUTTONS 2
-
 /* logging.c */
 #ifdef USE_LOGGING
 void init_log();
@@ -27,7 +23,6 @@ void inline log_word(uint16_t word) { }
 extern volatile uint16_t jiffies;
 void init_adc();
 void susp_adc();
-void timer_start_slow_adcs();
 
 /* pwm.c */
 #define PWM_MAX 0xFF
@@ -63,7 +58,6 @@ unsigned char buttons_wait_for_release();
 void status_led_on_off(unsigned char on);
 
 /* battery.c */
-extern volatile unsigned char battery_critical;
 void battery_adc();
 void init_battery();
 unsigned char battery_gauge();