From 5b951d4ef4116a1b34d04ae94bd354d3f543aec9 Mon Sep 17 00:00:00 2001 From: Mariwan Date: Mon, 16 Sep 2019 22:06:04 +0200 Subject: [PATCH] Update AnalogOut.h --- drivers/AnalogOut.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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: