summaryrefslogtreecommitdiffhomepage
path: root/digital/io-hub/src/common-cc/path.hh
diff options
context:
space:
mode:
Diffstat (limited to 'digital/io-hub/src/common-cc/path.hh')
-rw-r--r--digital/io-hub/src/common-cc/path.hh8
1 files changed, 8 insertions, 0 deletions
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,