##
-## This file is part of the sigrok project.
+## This file is part of the libsigrokdecode project.
##
## Copyright (C) 2012 Bert Vermeulen <bert@biot.com>
##
optional_probes = []
options = {}
annotations = [
- ['EDID fields', 'EDID structure fields'],
- ['EDID sections', 'EDID structure sections'],
+ ['fields', 'EDID structure fields'],
+ ['sections', 'EDID structure sections'],
]
def __init__(self, **kwargs):
# Received data
self.cache = []
- def start(self, metadata):
- self.out_ann = self.add(srd.OUTPUT_ANN, 'edid')
-
- def report(self):
- pass
+ def start(self):
+ self.out_ann = self.register(srd.OUTPUT_ANN)
def decode(self, ss, es, data):
cmd, data = data