mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-06-06 07:53:43 +08:00
[stereocam] LED fix
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user