Stop dma in destructor
This commit is contained in:
parent
58dc21c64b
commit
bf77c5eb4b
1 changed files with 1 additions and 0 deletions
|
@ -95,6 +95,7 @@ void dma::GetRpiInfo()
|
||||||
|
|
||||||
dma::~dma()
|
dma::~dma()
|
||||||
{
|
{
|
||||||
|
stop();
|
||||||
/*
|
/*
|
||||||
unmapmem(mbox.virt_addr, NumPages * PAGE_SIZE);
|
unmapmem(mbox.virt_addr, NumPages * PAGE_SIZE);
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in a new issue