Skip to content

fix: remove print(De-initializing self.pulse_in) when exit #90

Closed
@xgqfrms

Description

@xgqfrms

fix: remove print(De-initializing self.pulse_in) when exit

# ...
    def exit(self) -> None:
        """Cleans up the PulseIn process. Must be called explicitly"""
        if self._use_pulseio:
-           print("De-initializing self.pulse_in")
            self.pulse_in.deinit()
# ...

image

refs

https://github.com/adafruit/Adafruit_CircuitPython_DHT/blob/main/adafruit_dht.py#L92

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions