Rename package from proto97 to proto9x

This commit is contained in:
Marco Trevisan (Treviño) 2020-06-09 20:01:56 +02:00
parent 58b80a5dce
commit 23fa2a9c90
19 changed files with 17 additions and 17 deletions

View file

@ -6,8 +6,8 @@ from pydbus.generic import signal
import pkg_resources
from time import sleep
from prototype import *
from proto97.db import subtype_to_string
from proto97.sensor import cancel_capture
from proto9x.db import subtype_to_string
from proto9x.sensor import cancel_capture
import pwd
print("Starting up")

View file

@ -1,6 +1,6 @@
from proto97.usb import usb
from proto97.sensor import factory_reset
from proto9x.usb import usb
from proto9x.sensor import factory_reset
usb.open()
factory_reset()

14
pair.py
View file

@ -1,13 +1,13 @@
from time import sleep
from proto97.usb import usb
from proto97.tls import tls
from proto97.flash import read_flash
from proto97.init_flash import init_flash
from proto97.upload_fwext import upload_fwext
from proto97.calibrate import calibrate
from proto97.init_db import init_db
from proto9x.usb import usb
from proto9x.tls import tls
from proto9x.flash import read_flash
from proto9x.init_flash import init_flash
from proto9x.upload_fwext import upload_fwext
from proto9x.calibrate import calibrate
from proto9x.init_db import init_db
#usb.trace_enabled=True
#tls.trace_enabled=True

View file

@ -1,10 +1,10 @@
from proto97.tls import tls
from proto97.usb import usb
from proto97.db import db
from proto97.flash import read_flash
from proto97.sensor import *
from proto97.sid import *
from proto9x.tls import tls
from proto9x.usb import usb
from proto9x.db import db
from proto9x.flash import read_flash
from proto9x.sensor import *
from proto9x.sid import *
def open97():
usb.open()