Exemplo n.º 1
0
    def parse_extra_options(self):
        SerialBSLTarget.parse_extra_options(self)

        if self.options.invert_scl:
            self.invertSCL = True

        if self.options.invert_sda:
            self.invertSDA = True

        if self.options.swap_scl_sda:
            self.swapSCLSDA = True
Exemplo n.º 2
0
 def parse_extra_options(self):
     SerialBSLTarget.parse_extra_options(self)
     
     if self.options.invert_scl:
         self.invertSCL = True
     
     if self.options.invert_sda:
         self.invertSDA = True
     
     if self.options.swap_scl_sda:
         self.swapSCLSDA = True