Skip to content

Commit

Permalink
Fix threading
Browse files Browse the repository at this point in the history
  • Loading branch information
bkerler committed Dec 29, 2023
1 parent 4967857 commit f55985f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion mtkclient/Library/DA/legacy/dalegacy_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@
from mtkclient.Library.partition import Partition
from mtkclient.config.payloads import pathconfig
from mtkclient.Library.DA.legacy.extension.legacy import legacyext
from mtkclient.Library.thread_handling import writedata, Thread, Queue
from mtkclient.Library.thread_handling import writedata
from queue import Queue
from threading import Thread

rq = Queue()

Expand Down
4 changes: 3 additions & 1 deletion mtkclient/Library/DA/xflash/xflash_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,9 @@
from mtkclient.config.payloads import pathconfig
from mtkclient.Library.DA.xflash.extension.xflash import xflashext, XCmd
from mtkclient.Library.settings import hwparam
from mtkclient.Library.thread_handling import writedata, Queue, Thread
from mtkclient.Library.thread_handling import writedata
from queue import Queue
from threading import Thread

rq = Queue()

Expand Down
4 changes: 3 additions & 1 deletion mtkclient/Library/DA/xml/xml_lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
from mtkclient.Library.DA.daconfig import EMMC_PartitionType, UFS_PartitionType, DaStorage
from mtkclient.Library.partition import Partition
from mtkclient.config.payloads import pathconfig
from mtkclient.Library.thread_handling import writedata, Queue, Thread
from mtkclient.Library.thread_handling import writedata
from queue import Queue
from threading import Thread
from mtkclient.Library.DA.xml.xml_cmd import XMLCmd, BootModes
from mtkclient.Library.DA.xml.extension.v6 import xmlflashext

Expand Down

0 comments on commit f55985f

Please sign in to comment.