Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
firmware: synchronize encoder with framebuffer
  • Loading branch information
enjoy-digital committed Jul 9, 2015
1 parent 27bcf93 commit f1d03b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/encoder.c
Expand Up @@ -139,7 +139,7 @@ void encoder_service(void) {
if (encoder_done() == 1) {
encoder_init(luma_rom_50, chroma_rom_50);
encoder_start(processor_h_active, processor_v_active);
encoder_reader_dma_base_write(0);
encoder_reader_dma_base_write(fb_fi_base0_read());
encoder_reader_dma_length_write(processor_h_active*processor_v_active*4);
encoder_reader_dma_shoot_write(1);
frame_cnt++;
Expand Down

0 comments on commit f1d03b2

Please sign in to comment.