You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
530 B

  1. --- a/bridge/packet.py
  2. +++ b/bridge/packet.py
  3. @@ -93,12 +93,12 @@
  4. def run(self, data):
  5. if data[0] != 'X':
  6. - call(['/usr/bin/blink-start', '100'])
  7. + #call(['/usr/bin/blink-start', '100'])
  8. return chr(1)
  9. if data[1:4] != '100':
  10. - call(['/usr/bin/blink-start', '100'])
  11. + #call(['/usr/bin/blink-start', '100'])
  12. return chr(2)
  13. - call(['/usr/bin/blink-stop'])
  14. + #call(['/usr/bin/blink-stop'])
  15. return chr(0) + '160' # send the actual bridge version
  16. class PacketReader: