summaryrefslogtreecommitdiffhomepage
path: root/digital/io-hub/src/common-cc
diff options
context:
space:
mode:
authorOlivier Lanneluc2013-05-04 13:08:29 +0200
committerNicolas Schodet2013-05-04 15:56:15 +0200
commit66b3d174b1e246b984f1b001c16a4c07bb6e2754 (patch)
tree3139dd753b985dc14d99275984a3242055404a05 /digital/io-hub/src/common-cc
parentaa622f6cfbe6e8fb0fa334a9c0d38af9927e9990 (diff)
digital/io-hub/src: use path_debug macro in Path_2013
Diffstat (limited to 'digital/io-hub/src/common-cc')
-rw-r--r--digital/io-hub/src/common-cc/path.cc9
-rw-r--r--digital/io-hub/src/common-cc/path.hh8
2 files changed, 8 insertions, 9 deletions
diff --git a/digital/io-hub/src/common-cc/path.cc b/digital/io-hub/src/common-cc/path.cc
index 64d56f12..d9920ea0 100644
--- a/digital/io-hub/src/common-cc/path.cc
+++ b/digital/io-hub/src/common-cc/path.cc
@@ -37,15 +37,6 @@ extern "C" {
#include "modules/utils/utils.h"
}
-/** Enable path finding debug code */
-#define PATH_DEBUG 0
-
-#if PATH_DEBUG
-# define path_debug host_debug
-#else
-# define path_debug(args...) do { } while (0)
-#endif
-
/** Define path finding plot ID for the python simu framework */
#define PATH_PLOT_ID 2
diff --git a/digital/io-hub/src/common-cc/path.hh b/digital/io-hub/src/common-cc/path.hh
index 7806e537..bd667fdb 100644
--- a/digital/io-hub/src/common-cc/path.hh
+++ b/digital/io-hub/src/common-cc/path.hh
@@ -30,6 +30,14 @@ extern "C" {
#include "modules/path/astar/astar.h"
}
+/** Enable path finding debug code */
+#define PATH_DEBUG 0
+#if PATH_DEBUG
+# define path_debug host_debug
+#else
+# define path_debug(args...) do { } while (0)
+#endif
+
/** Static nodes index for the endpoints */
enum {
CC_NAVPOINT_SRC_IDX = 0,