We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8cfb19b + 28dc163 commit 7125764Copy full SHA for 7125764
adafruit_as7341.py
@@ -510,7 +510,7 @@ def _configure_f5_f8(self) -> None:
510
def flicker_detected(self) -> Optional[int]:
511
"""The flicker frequency detected in Hertz"""
512
if not self._flicker_detection_1k_configured:
513
- AttributeError(
+ raise AttributeError(
514
"Flicker detection must be enabled to access `flicker_detected`"
515
)
516
flicker_status = self._fd_status
0 commit comments