Skip to content

Commit 19b2f59

Browse files
docs: Fix dot path error (merbanan#1369)
1 parent 6135a23 commit 19b2f59

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,11 @@ if(BUILD_DOCUMENTATION)
182182

183183
set(DOXYGEN_IN ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in)
184184
set(DOXYGEN_OUT ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile)
185+
if(DOXYGEN_DOT_FOUND)
186+
set(HAVE_DOT "YES")
187+
else()
188+
set(HAVE_DOT "NO")
189+
endif()
185190

186191
configure_file(${DOXYGEN_IN} ${DOXYGEN_OUT} @ONLY)
187192
message(STATUS "Doxygen build started")

Doxyfile.in

+4-4
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ EXAMPLE_RECURSIVE = NO
913913
# that contain images that are to be included in the documentation (see the
914914
# \image command).
915915

916-
IMAGE_PATH = images/
916+
IMAGE_PATH =
917917

918918
# The INPUT_FILTER tag can be used to specify a program that doxygen should
919919
# invoke to filter for each input file. Doxygen will invoke the filter program
@@ -2207,7 +2207,7 @@ HIDE_UNDOC_RELATIONS = YES
22072207
# set to NO
22082208
# The default value is: NO.
22092209

2210-
HAVE_DOT = NO
2210+
HAVE_DOT = @HAVE_DOT@
22112211

22122212
# The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
22132213
# to run in parallel. When set to 0 doxygen will base this on the number of
@@ -2385,7 +2385,7 @@ INTERACTIVE_SVG = NO
23852385
# found. If left blank, it is assumed the dot tool can be found in the path.
23862386
# This tag requires that the tag HAVE_DOT is set to YES.
23872387

2388-
DOT_PATH = /usr/bin/dot
2388+
DOT_PATH = @DOXYGEN_DOT_PATH@
23892389

23902390
# The DOTFILE_DIRS tag can be used to specify one or more directories that
23912391
# contain dot files that are included in the documentation (see the \dotfile
@@ -2434,7 +2434,7 @@ PLANTUML_INCLUDE_PATH =
24342434
# Minimum value: 0, maximum value: 10000, default value: 50.
24352435
# This tag requires that the tag HAVE_DOT is set to YES.
24362436

2437-
DOT_GRAPH_MAX_NODES = 50
2437+
DOT_GRAPH_MAX_NODES = 200
24382438

24392439
# The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs
24402440
# generated by dot. A depth value of 3 means that only nodes reachable from the

include/pulse_detect.h

+1
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ void pulse_detect_free(pulse_detect_t *pulse_detect);
103103
/// Set pulse detector level values.
104104
///
105105
/// @param pulse_detect The pulse_detect instance
106+
/// @param use_mag_est Use magnitude instead of amplitude
106107
/// @param fixed_high_level Manual high level override, default is 0 (auto)
107108
/// @param min_high_level Minimum high level, default is -12 dB
108109
/// @param high_low_ratio Minimum signal noise ratio, default is 9 dB

0 commit comments

Comments
 (0)