000-scripts.patch 530 B

123456789101112131415161718
  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: