Skip to content

Commit 65905d7

Browse files
authored
Merge pull request #2255 from jepler/esp32-camera
Don't need to call memoryview() here, remove
2 parents 3439d75 + 9da2b09 commit 65905d7

File tree

1 file changed

+1
-1
lines changed
  • CircuitPython_ESP32_Camera/esp32-s3-eye-qrio-repl

1 file changed

+1
-1
lines changed

CircuitPython_ESP32_Camera/esp32-s3-eye-qrio-repl/code.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
while True:
4545
frame = cam.take(1)
4646
display_bus.send(44, frame)
47-
for row in qrdecoder.decode(memoryview(frame), qrio.PixelPolicy.RGB565_SWAPPED):
47+
for row in qrdecoder.decode(frame, qrio.PixelPolicy.RGB565_SWAPPED):
4848
payload = row.payload
4949
try:
5050
payload = payload.decode("utf-8")

0 commit comments

Comments
 (0)