- self.put(m[3][1], m[1][2], self.out_ann, [134, ['Data rejected (write error)']])
- self.put(m[0][1], m[0][2], self.out_ann, [134, ['Always 1']])
- ann_class = None
- if self.is_cmd24:
- ann_class = 24
- if ann_class is not None:
- self.put(self.ss, self.es, self.out_ann, [ann_class, ['Data Response']])
+ self.put(m[3][1], m[1][2], self.out_ann, [Ann.BIT, ['Data rejected (write error)']])
+ self.put(m[0][1], m[0][2], self.out_ann, [Ann.BIT, ['Always 1']])
+ cls = Ann.CMD24 if self.is_cmd24 else None
+ if cls is not None:
+ self.put(self.ss, self.es, self.out_ann, [cls, ['Data Response']])