examples/vga/main.c | raw changeset files shortlog |
1.1 --- a/examples/vga/main.c Tue Oct 23 19:17:34 2018 +0200 1.2 +++ b/examples/vga/main.c Tue Oct 23 19:29:55 2018 +0200 1.3 @@ -103,7 +103,7 @@ 1.4 dma_set_interrupt(0, T2, 1); 1.5 dma_set_transfer(0, PHYSICAL((uint32_t) screenstart), LINE_LENGTH, 1.6 HW_PHYSICAL(PORTB), 1, 1.7 - LINE_LENGTH); 1.8 + TRANSFER_CELL_SIZE); 1.9 1.10 /* Enable DMA on the preceding channel's completion, with the timer event 1.11 initiating the transfer. */