Skip to content

Commit 0f09935

Browse files
authored
Merge pull request #9 from arduino/msgpack_rpc_example
lib/msgpackrpc: Fix MD5 example.
2 parents 8942475 + 1b4cbc6 commit 0f09935

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/msgpackrpc/md5sum.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def randbytes(size):
3838
# Create an RPC object
3939
rpc = msgpackrpc.MsgPackRPC()
4040
# Register objects or functions to be called by the remote processor.
41-
rpc.bind(md5hash)
41+
rpc.bind("md5hash", md5hash)
4242
# Start the remote processor and wait for it to be ready to communicate.
4343
rpc.start(firmware=0x08180000, timeout=3000, num_channels=2)
4444

0 commit comments

Comments
 (0)