Skip to content

Commit

Permalink
Fix code block in README
Browse files Browse the repository at this point in the history
The lack of a newline was causing the code to not render.

Fixes #322
  • Loading branch information
peplin committed Apr 28, 2021
1 parent 50b13e2 commit de7709b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,7 @@ If you are having trouble connecting to a device, it may use random addressing.
Try changing the connection setup code to:

.. code:: python
device = adapter.connect('01:23:45:67:89:ab', address_type=pygatt.BLEAddressType.random)
Unexplained Timeouts
Expand Down

0 comments on commit de7709b

Please sign in to comment.