mirror of
https://github.com/thelsing/knx.git
synced 2024-12-18 19:08:18 +01:00
fix knxPython build
This commit is contained in:
parent
06e2c11d96
commit
d153825f2e
@ -1,3 +1,3 @@
|
|||||||
add_subdirectory(examples/knx-linux)
|
add_subdirectory(examples/knx-linux)
|
||||||
add_subdirectory(examples/knx-linux-coupler)
|
add_subdirectory(examples/knx-linux-coupler)
|
||||||
#add_subdirectory(examples/knxPython)
|
add_subdirectory(examples/knxPython)
|
@ -51,7 +51,8 @@ static void Prepare(std::vector<std::string> args)
|
|||||||
argv = std::vector<const char*>(argsVector.size());
|
argv = std::vector<const char*>(argsVector.size());
|
||||||
std::transform(argsVector.begin(), argsVector.end(), argv.begin(), StdStringCStrFunctor());
|
std::transform(argsVector.begin(), argsVector.end(), argv.begin(), StdStringCStrFunctor());
|
||||||
|
|
||||||
platform = new LinuxPlatform(argv.size(), const_cast<char**>(argv.data()));
|
platform = new LinuxPlatform();
|
||||||
|
platform->cmdLineArgs(argv.size(), const_cast<char**>(argv.data()));
|
||||||
bau = new Bau57B0(*platform);
|
bau = new Bau57B0(*platform);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user