WIP for new cleaned up device API

This commit is contained in:
Kevin Hester
2020-12-06 09:03:28 +08:00
parent 5972dc6dd2
commit ac31189798
5 changed files with 166 additions and 153 deletions

View File

@@ -1,4 +1,8 @@
#!/bin/bash
protoc -I=proto --python_out meshtastic mesh.proto
protoc -I=proto --python_out meshtastic mesh.proto portnums.proto
# workaround for import bug in protoc https://github.com/protocolbuffers/protobuf/issues/1491#issuecomment-690618628
sed -i -E 's/^import.*_pb2/from . \0/' meshtastic/*.py