Thomas Farstrike
d798aff80e
Add camera settings
2025-11-26 10:35:25 +01:00
Thomas Farstrike
e9810a34ba
Merge branch 'main' into camera-resolution
2025-11-26 10:26:30 +01:00
Thomas Farstrike
4f18d8491d
Update CHANGELOG
2025-11-26 09:26:49 +01:00
Thomas Farstrike
ef0cb980f2
Settings app: fix un-checking of radio button
2025-11-26 09:25:43 +01:00
Thomas Farstrike
8c1903d05d
Camera app: add experimental zoom button
2025-11-26 08:05:26 +01:00
Thomas Farstrike
3e9fbc380c
Camera: retry more
2025-11-25 16:14:49 +01:00
Thomas Farstrike
7679db3607
Refactor camera code: DRY, fix memory leak, improve error handling
...
- Extract RGB conversion helper to eliminate duplication
- Unify save functions
- Fix buffer cleanup on error (memory leak)
- Move retry logic into init_internal_cam()
- Add error handling for failed camera reinitialization
- Consolidate button sizing with class variables
- Remove redundant initialization and unnecessary copies
2025-11-25 14:28:09 +01:00
Thomas Farstrike
385d551f3d
Fix camera_app R128x128 vs R128X128
2025-11-25 13:46:47 +01:00
Thomas Farstrike
de35a9dd39
Camera app: tweak layout
2025-11-25 09:45:39 +01:00
Thomas Farstrike
b0592f8e22
Webcam: only supported resolutions
2025-11-25 09:30:55 +01:00
Thomas Farstrike
01f7a1f84f
Improve camera
2025-11-25 09:25:36 +01:00
Thomas Farstrike
f8da36b630
camera: fix crash and other bugs
2025-11-25 09:05:56 +01:00
Thomas Farstrike
858df97372
Default to 320x240
2025-11-25 08:23:07 +01:00
Thomas Farstrike
5bf790ed61
Simplify: no scaling
2025-11-25 08:19:11 +01:00
Thomas Farstrike
31e61e7d88
Improve camera
2025-11-25 07:59:48 +01:00
Thomas Farstrike
7e4585e91e
Camera: support more resolutions
...
It's a bit unstable, as it crashes if the settings button is clicked after startup,
but not when closing and then re-opening. Seems to work for 640x480, including QR decoding.
2025-11-24 23:35:50 +01:00
Thomas Farstrike
1ab4970dc7
Work towards changing camera resolution
2025-11-24 22:54:26 +01:00
Thomas Farstrike
fa80b7ce13
Add showbattery app for testing
2025-11-24 22:12:44 +01:00
Thomas Farstrike
142c23256c
AppStore app: remove unnecessary scrollbar over publisher's name
2025-11-24 22:12:27 +01:00
Thomas Farstrike
4732e4f80f
scripts/install.sh: disable wifi first
2025-11-24 22:08:35 +01:00
Thomas Farstrike
cccfe320d2
Fix tests/test_battery_voltage.py
2025-11-24 22:08:00 +01:00
Thomas Farstrike
60b68efd79
Fri3d Camp 2024 Badge: improve battery monitor calibration
2025-11-24 22:07:18 +01:00
Thomas Farstrike
54b0aa04ac
Update CHANGELOG
2025-11-24 19:50:03 +01:00
Thomas Farstrike
51e8977b12
battery_voltage: slow refresh for ADC2 because need to disable wifi
2025-11-24 19:49:03 +01:00
Thomas Farstrike
69386509e2
OSUpdate: improve wifi handling
2025-11-24 19:04:57 +01:00