Skip to content

Commit

Permalink
Remove a debug print
Browse files Browse the repository at this point in the history
  • Loading branch information
kagalenko-m-b committed May 27, 2024
1 parent dc24427 commit fac14f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "LibModbus"
uuid = "eb9b09e8-e158-48db-9998-d0f1810f0d04"
authors = ["kagalenko-m-b <[email protected]>"]
version = "0.5.1"
version = "0.5.2"

[deps]
LibModbus_jll = "f28bf708-275a-52ef-9ea6-4821c17573f9"
Expand Down
1 change: 0 additions & 1 deletion src/LibModbus.jl
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,6 @@ it's more common to use holding registers only.
function read_input_registers(ctx::ModbusContext, addr::Integer, nb::Integer)
ctx.slave_address >= 0 || error("invalid slave address")
dest = zeros(UInt16, nb)
println("read input registers: ")
ret = ccall((:modbus_read_input_registers, libmodbus), Cint,
(Ptr{Cvoid}, Cint, Cint, Ref{UInt16}), ctx._context_pointer, addr, nb, dest)
_strerror(ret, "modbus_read_input_registers()")
Expand Down

2 comments on commit fac14f4

@kagalenko-m-b
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/107746

Tip: Release Notes

Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.

@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.

Tagging

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.5.2 -m "<description of version>" fac14f4257c3937e67c9e96d33f125bd439118ac
git push origin v0.5.2

Please sign in to comment.