From: Jan "Yenya" Kasprzak Date: Wed, 1 May 2013 22:31:18 +0000 (+0200) Subject: lights.h cleanup X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=50ca26604e7aed4a49ac44e3b2a8e7a182d92c46;p=tinyboard.git lights.h cleanup --- diff --git a/projects/step-up/lights.h b/projects/step-up/lights.h index 0437378..7a268ef 100644 --- a/projects/step-up/lights.h +++ b/projects/step-up/lights.h @@ -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();