Update dma.cpp

add trigger to both source and destination