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