Stop dma in destructor

This commit is contained in:
F5OEO 2018-08-30 12:24:32 +00:00
parent 58dc21c64b
commit bf77c5eb4b

View file

@ -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);
*/ */