Skip to content

initialize saturation and effect to default values. #40

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ Introduction
:alt: Build Status


.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
:target: https://github.com/psf/black
:alt: Code Style: Black
.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json
:target: https://github.com/astral-sh/ruff
:alt: Code Style: Ruff

CircuitPython driver for OV5640 Camera

Expand Down
2 changes: 2 additions & 0 deletions adafruit_ov5640/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1118,6 +1118,8 @@ def __init__(
self._ev = 0
self._white_balance = 0
self.size = size
self._saturation = 0
self._effect = OV5640_SPECIAL_EFFECT_NONE

if init_autofocus:
self.autofocus_init()
Expand Down