mirror of
https://github.com/ARM-software/devlib.git
synced 2025-01-31 02:00:45 +00:00
Merge pull request #10 from Leo-Yan/use_ordered_dictionary
Instrument: Add channel with ordered sequence
This commit is contained in:
commit
217a97485b
@ -14,6 +14,7 @@
|
||||
#
|
||||
import csv
|
||||
import logging
|
||||
import collections
|
||||
|
||||
from devlib.utils.types import numeric
|
||||
|
||||
@ -167,7 +168,7 @@ class Instrument(object):
|
||||
def __init__(self, target):
|
||||
self.target = target
|
||||
self.logger = logging.getLogger(self.__class__.__name__)
|
||||
self.channels = {}
|
||||
self.channels = collections.OrderedDict()
|
||||
self.active_channels = []
|
||||
|
||||
# channel management
|
||||
|
Loading…
x
Reference in New Issue
Block a user