From 67cc08310d284ff53b8e277a45faedb9c77e216b Mon Sep 17 00:00:00 2001 From: BlitzCityDIY Date: Wed, 19 Mar 2025 11:49:08 -0400 Subject: [PATCH] docs --- adafruit_tlv320.py | 4 ++-- docs/conf.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/adafruit_tlv320.py b/adafruit_tlv320.py index 52a19dc..35365fe 100644 --- a/adafruit_tlv320.py +++ b/adafruit_tlv320.py @@ -1376,7 +1376,7 @@ class TLV320DAC3100: self._page1._configure_spk_pga(gain, not mute) @property - def dac_flags(self) -> DACFlags: + def dac_flags(self) -> Dict[str, Any]: """Get the DAC and output driver status flags. :return: Dictionary with status flags @@ -1425,7 +1425,7 @@ class TLV320DAC3100: return self._page0._get_din_input() @property - def codec_interface(self) -> CodecInterface: + def codec_interface(self) -> Dict[str, Any]: """Get the current codec interface settings. :return: Dictionary with codec interface settings diff --git a/docs/conf.py b/docs/conf.py index 42b1ab3..6ec6938 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -25,7 +25,7 @@ extensions = [ # Uncomment the below if you use native CircuitPython modules such as # digitalio, micropython and busio. List the modules you use. Without it, the # autodoc module docs will fail to generate with a warning. -# autodoc_mock_imports = ["digitalio", "busio"] +autodoc_mock_imports = ["digitalio", "busio", "adafruit_bus_device", "micropython"] autodoc_preserve_defaults = True