Skip to content

Commit

Permalink
Update gpioBTDiscovery.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SilentNightx authored Nov 7, 2024
1 parent a78c351 commit 4a35045
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion home/pi/gpioBTDiscovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def make_discoverable(channel):
gpio.add_event_detect(gpioPin, gpio.FALLING, callback=make_discoverable, bouncetime=300)

try:
while True : pass
while True :
sleep(1)
except:
gpio.cleanup()

0 comments on commit 4a35045

Please sign in to comment.