[stereocam] LED fix

This commit is contained in:
Christophe De Wagter
2015-11-21 15:11:15 +01:00
parent 22485a8490
commit d6223ec0cd
2 changed files with 2 additions and 2 deletions
@@ -150,7 +150,7 @@ void stereocam_droplet_periodic(void)
break;
}
#if STEREO_LED
#ifdef STEREO_LED
if (obstacle_detected) {
LED_ON(STEREO_LED);
} else {
@@ -105,7 +105,7 @@ void run_avoid_navigation_onvision(void)
avoid_navigation_data.stereo_bin[3] = avoid_navigation_data.mode;
avoid_navigation_data.stereo_bin[4] = counter;
#if STEREO_LED
#ifdef STEREO_LED
if (obstacle_detected) {
LED_ON(STEREO_LED);
} else {