Skip to content

Commit cc12e2b

Browse files
committed
ToFConfigBindings: fix docs/wheels build
1 parent 147eec1 commit cc12e2b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/pipeline/datatype/ToFConfigBindings.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ void bind_tofconfig(pybind11::module& m, void* pCallstack){
5959
.def(py::init<>())
6060
.def(py::init<std::shared_ptr<RawToFConfig>>())
6161

62-
.def("setDepthParams", static_cast<ToFConfig&(ToFConfig::*)(dai::ToFConfig::DepthParams)>(&ToFConfig::setDepthParams), py::arg("config"), DOC(dai, ToFConfig, setDepthParams, 2))
63-
.def("setFreqModUsed", static_cast<ToFConfig&(ToFConfig::*)(dai::ToFConfig::DepthParams::TypeFMod)>(&ToFConfig::setFreqModUsed), DOC(dai, ToFConfig, setDepthParams, 2))
64-
.def("setAvgPhaseShuffle", &ToFConfig::setAvgPhaseShuffle, DOC(dai, node, ToFConfig, setAvgPhaseShuffle))
65-
.def("setMinAmplitude", &ToFConfig::setMinAmplitude, DOC(dai, node, ToFConfig, setMinAmplitude))
62+
.def("setDepthParams", static_cast<ToFConfig&(ToFConfig::*)(dai::ToFConfig::DepthParams)>(&ToFConfig::setDepthParams), py::arg("config"), DOC(dai, ToFConfig, setDepthParams))
63+
.def("setFreqModUsed", static_cast<ToFConfig&(ToFConfig::*)(dai::ToFConfig::DepthParams::TypeFMod)>(&ToFConfig::setFreqModUsed), DOC(dai, ToFConfig, setFreqModUsed))
64+
.def("setAvgPhaseShuffle", &ToFConfig::setAvgPhaseShuffle, DOC(dai, ToFConfig, setAvgPhaseShuffle))
65+
.def("setMinAmplitude", &ToFConfig::setMinAmplitude, DOC(dai, ToFConfig, setMinAmplitude))
6666

6767
.def("set", &ToFConfig::set, py::arg("config"), DOC(dai, ToFConfig, set))
6868
.def("get", &ToFConfig::get, DOC(dai, ToFConfig, get))

0 commit comments

Comments
 (0)