Skip to content

Commit

Permalink
removed extraneous interface that doesn't exist in NineRiFt Lite
Browse files Browse the repository at this point in the history
  • Loading branch information
Slinger360 committed Feb 9, 2020
1 parent f1aa4a9 commit 5690a79
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions nbclient.py
Expand Up @@ -47,8 +47,7 @@ def connect(self):

elif self.link == 'serial':
if platform == 'android':
from py9b.link.droidserial import SerialLink
link = SerialLink(timeout=1.0)
tprint('Serial on Android is only available in Pro')
else:
from py9b.link.serial import SerialLink
link = SerialLink(timeout=1.0)
Expand Down Expand Up @@ -106,6 +105,7 @@ def _connect_inner(self, link):
transport.keys = link.fetch_keys()
transport.recover_keys()
tprint('Keys recovered')
tprint('functionality may be limited for now')

self._tran = transport
self._link = link
Expand Down
2 changes: 1 addition & 1 deletion ninerift.kv
Expand Up @@ -167,7 +167,7 @@
orientation: 'horizontal'
Spinner:
text: 'Interface'
values: ['BLE', 'TCP']
values: ['BLE', 'TCP', 'Serial']
on_text: app.conn.link = self.text.lower()
font_size: '12sp'
height: '12sp'
Expand Down

0 comments on commit 5690a79

Please sign in to comment.