Camera_app: fix API

This commit is contained in:
Thomas Farstrike
2025-11-05 18:47:28 +01:00
parent 8b5d836069
commit 10901f0732
@@ -154,7 +154,8 @@ class CameraApp(Activity):
print("camera app cleanup done.")
def set_image_size(self):
target_h = mpos.ui.vertical_resolution
disp = lv.display_get_default()
target_h = disp.get_vertical_resolution()
target_w = target_h
if target_w == self.width and target_h == self.height:
print("Target width and height are the same as native image, no scaling required.")