|
@ -356,11 +356,11 @@ class TestUnaligned(unittest.TestCase): |
|
|
|
|
|
|
|
|
def set_unaligned(self): |
|
|
def set_unaligned(self): |
|
|
# GZ_REQ_SET_UNALIGNED |
|
|
# GZ_REQ_SET_UNALIGNED |
|
|
x = self.dev.ctrl_transfer(self.req, GZ_REQ_SET_UNALIGNED, 0, 0) |
|
|
self.dev.ctrl_transfer(self.req, GZ_REQ_SET_UNALIGNED, 0, 0) |
|
|
|
|
|
|
|
|
def set_aligned(self): |
|
|
def set_aligned(self): |
|
|
# GZ_REQ_SET_ALIGNED |
|
|
# GZ_REQ_SET_ALIGNED |
|
|
x = self.dev.ctrl_transfer(self.req, GZ_REQ_SET_ALIGNED, 0, 0) |
|
|
self.dev.ctrl_transfer(self.req, GZ_REQ_SET_ALIGNED, 0, 0) |
|
|
|
|
|
|
|
|
def do_readwrite(self): |
|
|
def do_readwrite(self): |
|
|
""" |
|
|
""" |
|
|