diff --git a/CMakeLists.txt b/CMakeLists.txt index 85fb97a..52bb6ff 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,3 @@ add_subdirectory(examples/knx-linux) add_subdirectory(examples/knx-linux-coupler) -#add_subdirectory(examples/knxPython) \ No newline at end of file +add_subdirectory(examples/knxPython) \ No newline at end of file diff --git a/examples/knxPython/knxmodule.cpp b/examples/knxPython/knxmodule.cpp index 82a5f24..461e9c9 100644 --- a/examples/knxPython/knxmodule.cpp +++ b/examples/knxPython/knxmodule.cpp @@ -51,7 +51,8 @@ static void Prepare(std::vector args) argv = std::vector(argsVector.size()); std::transform(argsVector.begin(), argsVector.end(), argv.begin(), StdStringCStrFunctor()); - platform = new LinuxPlatform(argv.size(), const_cast(argv.data())); + platform = new LinuxPlatform(); + platform->cmdLineArgs(argv.size(), const_cast(argv.data())); bau = new Bau57B0(*platform); }