Skip to content

Commit 5b951d4

Browse files
author
Mariwan
authored
Update AnalogOut.h
1 parent 47c3083 commit 5b951d4

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

drivers/AnalogOut.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,9 @@ class AnalogOut {
138138

139139
virtual ~AnalogOut()
140140
{
141-
/** Deinitialize the pin configuration totally.
142-
*\ This should allow changing the definition of the pin
141+
/** Deinitialize pin configuration.
143142
*/
144-
analogout_free(&this->_dac);
143+
analogout_free(&_dac);
145144
}
146145

147146
protected:

0 commit comments

Comments
 (0)