diff --git a/drivers/AnalogOut.h b/drivers/AnalogOut.h index 784290ca68..0e29a71887 100644 --- a/drivers/AnalogOut.h +++ b/drivers/AnalogOut.h @@ -138,10 +138,9 @@ public: virtual ~AnalogOut() { - /** Deinitialize the pin configuration totally. - *\ This should allow changing the definition of the pin + /** Deinitialize pin configuration. */ - analogout_free(&this->_dac); + analogout_free(&_dac); } protected: