We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56a33de commit 9ebc536Copy full SHA for 9ebc536
source/fpga/cocotb/tests/camera/camera_test.py
@@ -98,8 +98,7 @@ async def initialize(self):
98
await self.spi.spi_write(0x32, 1)
99
100
size = int(os.environ.get("IMAGE_X_SIZE", 512))
101
- if not size == 512:
102
- await self.spi.spi_write(0x23, [size >> 8, size & 0xFF])
+ await self.spi.spi_write(0x23, [size >> 8, size & 0xFF])
103
104
# kick off capture flag
105
await self.spi.spi_command(0x20)
0 commit comments