def start(self, metadata):
self.out_proto = self.add(srd.OUTPUT_PROTO, 'i2cdata')
if self.options['direction'] not in ('', 'read', 'write'):
def start(self, metadata):
self.out_proto = self.add(srd.OUTPUT_PROTO, 'i2cdata')
if self.options['direction'] not in ('', 'read', 'write'):