Skip to content

Commit

Permalink
add end for an if in the docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Barth committed Dec 19, 2024
1 parent b91104c commit 3cb7be0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/i2c.jl
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,10 @@ the error code).
```julia
(b, d) = i2c_read_i2c_block_data(pi, h, 4, 32)
if b >= 0
# process data
# process data
else
# process read failure
# process read failure
end
```
"""
function i2c_read_i2c_block_data(self::Pi, handle, reg, count)
Expand Down

0 comments on commit 3cb7be0

Please sign in to comment.