From 5629f8b0f50a13c6add7ab849a1db75427d42728 Mon Sep 17 00:00:00 2001 From: Christophe De Wagter Date: Mon, 8 Oct 2018 10:09:23 +0200 Subject: [PATCH] fix print variables --- sw/airborne/modules/sonar/sonar_bebop.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sw/airborne/modules/sonar/sonar_bebop.c b/sw/airborne/modules/sonar/sonar_bebop.c index 8e3cd0477fe..b519f8110d1 100644 --- a/sw/airborne/modules/sonar/sonar_bebop.c +++ b/sw/airborne/modules/sonar/sonar_bebop.c @@ -218,7 +218,6 @@ void *sonar_bebop_read(void *data __attribute__((unused))) } -#define SONAR_BEBOP_FILTER_NARROW_OBSTACLES 1 #if SONAR_BEBOP_FILTER_NARROW_OBSTACLES #ifndef SONAR_BEBOP_FILTER_NARROW_OBSTACLES_JUMP @@ -229,7 +228,7 @@ PRINT_CONFIG_VAR(SONAR_BEBOP_FILTER_NARROW_OBSTACLES_JUMP) #ifndef SONAR_BEBOP_FILTER_NARROW_OBSTACLES_TIME #define SONAR_BEBOP_FILTER_NARROW_OBSTACLES_TIME 1.0f #endif -PRINT_CONFIG_VAR(SONAR_BEBOP_FILTER_NARROW_OBSTACLES_JUMP) +PRINT_CONFIG_VAR(SONAR_BEBOP_FILTER_NARROW_OBSTACLES_TIME) static float sonar_filter_narrow_obstacles(float distance_sonar) {