examples/vga-pmp/main.c | raw changeset files shortlog |
1.1 --- a/examples/vga-pmp/main.c Tue Oct 23 19:17:34 2018 +0200 1.2 +++ b/examples/vga-pmp/main.c Tue Oct 23 19:29:55 2018 +0200 1.3 @@ -107,7 +107,7 @@ 1.4 dma_set_interrupt(0, T2, 1); 1.5 dma_set_transfer(0, PHYSICAL((uint32_t) linedata), LINE_LENGTH, 1.6 HW_PHYSICAL(PM_REG(0, PMxDIN)), 1, 1.7 - LINE_LENGTH); 1.8 + TRANSFER_CELL_SIZE); 1.9 dma_init_interrupt(0, 0b1000, 1, 3); 1.10 1.11 /* Enable DMA on the preceding channel's completion, with this also