Update gdma_lcd_parallel16.cpp

Bring S3 flip code in line with fix provided by @Lukaswnd  for #402
This commit is contained in:
mrfaptastic 2023-03-10 18:20:47 +00:00 committed by GitHub
parent da22841fc5
commit 763aab6f09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -453,8 +453,8 @@
} }
else else
{ {
_dmadesc_a[_dmadesc_count-1].next = (dma_descriptor_t *) &_dmadesc_a[0];
_dmadesc_b[_dmadesc_count-1].next = (dma_descriptor_t *) &_dmadesc_a[0]; _dmadesc_b[_dmadesc_count-1].next = (dma_descriptor_t *) &_dmadesc_a[0];
_dmadesc_a[_dmadesc_count-1].next = (dma_descriptor_t *) &_dmadesc_a[0];
} }
current_back_buffer_id ^= 1; current_back_buffer_id ^= 1;