Skip to content

Commit

Permalink
issue #3
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander-Barth committed Nov 12, 2024
1 parent c3c961d commit 559e6ea
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/PiGPIO.jl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module PiGPIO

export Pi

import Base: run
using Sockets

include("constants.jl")
Expand Down
2 changes: 1 addition & 1 deletion src/pi.jl
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ end


"""Runs the notification thread."""
function run(self::CallbackThread)
function Base.run(self::CallbackThread)
lastLevel = _pigpio_command(self.control, _PI_CMD_BR1, 0, 0)
MSG_SIZ = 12
while self.go
Expand Down

0 comments on commit 559e6ea

Please sign in to comment.