parent
971da05cac
commit
32a02a5f0f
1 changed files with 11 additions and 0 deletions
|
@ -397,6 +397,17 @@ class MatrixPanel_I2S_DMA {
|
|||
|
||||
}
|
||||
|
||||
// Obj destructor
|
||||
~MatrixPanel_I2S_DMA(){
|
||||
stopDMAoutput();
|
||||
|
||||
delete dmadesc_a;
|
||||
|
||||
if (m_cfg.double_buff)
|
||||
delete dmadesc_b;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* overload for compatibility
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue