Skip to content

Commit 7a6b27b

Browse files
sigmundklaayashi
authored andcommitted
examples: Remove address from calls to pycsp_init
The previous commit removed the address from libcsp.init and so the examples have been updated to reflect that.
1 parent 4853fa5 commit 7a6b27b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

examples/python_bindings_example_client.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def getOptions():
3939
# "1.2.3" - Revision, returned by CSP identity requests
4040
# See "include\csp\csp.h" - lines 42-80 for more detail
4141
# See "src\bindings\python\pycsp.c" - lines 128-156 for more detail
42-
libcsp.init(options.address, "host", "model", "1.2.3")
42+
libcsp.init("host", "model", "1.2.3")
4343

4444
if options.can:
4545
# add CAN interface

examples/python_bindings_example_server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def csp_server():
9999
# "1.2.3" - Revision, returned by CSP identity requests
100100
# See "include\csp\csp.h" - lines 42-80 for more detail
101101
# See "src\bindings\python\pycsp.c" - lines 128-156 for more detail
102-
libcsp.init(27, "test_service", "bindings", "1.2.3")
102+
libcsp.init("test_service", "bindings", "1.2.3")
103103

104104
# init zmqhub with parameters: {address (using 255 means all addresses)} {host name/ip}
105105
# subscribe and publish endpoints are created on the default ports using the {host}

0 commit comments

Comments
 (0)