You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Camera: disable extremely high resolutions
They take up too much RAM.
This commit is contained in:
@@ -95,12 +95,13 @@ class CameraSettingsActivity(Activity):
|
||||
("800x800", "800x800"),
|
||||
("960x960", "960x960"),
|
||||
("1024x768", "1024x768"),
|
||||
("1024x1024","1024x1024"),
|
||||
("1280x720", "1280x720"),
|
||||
("1280x1024", "1280x1024"),
|
||||
("1280x1280", "1280x1280"),
|
||||
("1600x1200", "1600x1200"),
|
||||
("1920x1080", "1920x1080"),
|
||||
("1024x1024", "1024x1024"),
|
||||
# These are available in the driver, but they take up a lot of RAM:
|
||||
#("1280x1024", "1280x1024"),
|
||||
#("1280x1280", "1280x1280"),
|
||||
#("1600x1200", "1600x1200"),
|
||||
#("1920x1080", "1920x1080"),
|
||||
]
|
||||
|
||||
# These are taken from the Intent:
|
||||
|
||||
Reference in New Issue
Block a user