mirror of https://github.com/ARMmbed/mbed-os.git
commit
99c19b5288
|
@ -125,7 +125,9 @@ public:
|
||||||
|
|
||||||
virtual ~AnalogOut()
|
virtual ~AnalogOut()
|
||||||
{
|
{
|
||||||
// Do nothing
|
/** Deinitialize pin configuration.
|
||||||
|
*/
|
||||||
|
analogout_free(&_dac);
|
||||||
}
|
}
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
|
@ -48,7 +48,6 @@ void analogout_init(dac_t *obj, PinName pin);
|
||||||
|
|
||||||
/** Release the analogout object
|
/** Release the analogout object
|
||||||
*
|
*
|
||||||
* Note: This is not currently used in the mbed-drivers
|
|
||||||
* @param obj The analogout object
|
* @param obj The analogout object
|
||||||
*/
|
*/
|
||||||
void analogout_free(dac_t *obj);
|
void analogout_free(dac_t *obj);
|
||||||
|
|
Loading…
Reference in New Issue