aboutsummaryrefslogtreecommitdiffstats
path: root/visualizer.c
diff options
context:
space:
mode:
authorFred Sundvik <fsundvik@gmail.com>2016-04-24 17:44:11 +0300
committerFred Sundvik <fsundvik@gmail.com>2016-04-24 17:44:11 +0300
commit6313cfd5597ffce0c70a472aa87ed68b6daa4419 (patch)
tree9411952c7f9cad138735fce92574a883047a3538 /visualizer.c
parent74baa4895c8efd409eb10eaf1e6cfc0e2677b45c (diff)
downloadfirmware-6313cfd5597ffce0c70a472aa87ed68b6daa4419.tar.gz
firmware-6313cfd5597ffce0c70a472aa87ed68b6daa4419.tar.bz2
firmware-6313cfd5597ffce0c70a472aa87ed68b6daa4419.zip
Fix some makefile issues, and symbol issues
Diffstat (limited to 'visualizer.c')
-rw-r--r--visualizer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/visualizer.c b/visualizer.c
index 81ec8298f..0684a26d8 100644
--- a/visualizer.c
+++ b/visualizer.c
@@ -77,8 +77,8 @@ static remote_object_t* remote_objects[] = {
#endif
-GDisplay* LCDDisplay;
-GDisplay* LEDDisplay;
+GDisplay* LCD_DISPLAY = 0;
+GDisplay* LED_DISPLAY = 0;
void start_keyframe_animation(keyframe_animation_t* animation) {
@@ -437,8 +437,8 @@ void visualizer_init(void) {
add_remote_objects(remote_objects, sizeof(remote_objects) / sizeof(remote_object_t*) );
#endif
// TODO: Make sure these works when either of these are disabled
- LCDDisplay = gdispGetDisplay(0);
- LEDDisplay = gdispGetDisplay(1);
+ LCD_DISPLAY = gdispGetDisplay(0);
+ LED_DISPLAY = gdispGetDisplay(1);
// We are using a low priority thread, the idea is to have it run only