Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Jan Kasprzak
tinyboard
Commits
50ca2660
Commit
50ca2660
authored
May 02, 2013
by
Jan Kasprzak
Browse files
lights.h cleanup
parent
287f589e
Changes
1
Hide whitespace changes
Inline
Side-by-side
projects/step-up/lights.h
View file @
50ca2660
#ifndef LIGHTS_H__
#ifndef LIGHTS_H__
#define LIGHTS_H__ 1
#define LIGHTS_H__ 1
#define TESTING_FW 1
#define N_PWMLED_MODES 4
#define N_PWMLED_MODES 4
#define N_BUTTONS 2
/* logging.c */
/* logging.c */
#ifdef USE_LOGGING
#ifdef USE_LOGGING
void
init_log
();
void
init_log
();
...
@@ -27,7 +23,6 @@ void inline log_word(uint16_t word) { }
...
@@ -27,7 +23,6 @@ void inline log_word(uint16_t word) { }
extern
volatile
uint16_t
jiffies
;
extern
volatile
uint16_t
jiffies
;
void
init_adc
();
void
init_adc
();
void
susp_adc
();
void
susp_adc
();
void
timer_start_slow_adcs
();
/* pwm.c */
/* pwm.c */
#define PWM_MAX 0xFF
#define PWM_MAX 0xFF
...
@@ -63,7 +58,6 @@ unsigned char buttons_wait_for_release();
...
@@ -63,7 +58,6 @@ unsigned char buttons_wait_for_release();
void
status_led_on_off
(
unsigned
char
on
);
void
status_led_on_off
(
unsigned
char
on
);
/* battery.c */
/* battery.c */
extern
volatile
unsigned
char
battery_critical
;
void
battery_adc
();
void
battery_adc
();
void
init_battery
();
void
init_battery
();
unsigned
char
battery_gauge
();
unsigned
char
battery_gauge
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment