Skip to content

Commit

Permalink
firmware: fix hdmi_inx_clear_framebuffers
Browse files Browse the repository at this point in the history
  • Loading branch information
enjoy-digital committed Sep 1, 2015
1 parent 743e4a6 commit e025fa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion firmware/lm32/hdmi_in0.c
Expand Up @@ -137,7 +137,7 @@ void hdmi_in0_clear_framebuffers(void)
int i;
flush_l2_cache();
volatile unsigned int *framebuffer = (unsigned int *)(MAIN_RAM_BASE + HDMI_IN0_FRAMEBUFFERS_BASE);
for(i=0; i<HDMI_IN0_FRAMEBUFFERS_SIZE/4; i++) {
for(i=0; i<(HDMI_IN0_FRAMEBUFFERS_SIZE*FRAMEBUFFER_COUNT)/4; i++) {
framebuffer[i] = 0x80108010; /* black in YCbCr 4:2:2*/
}
}
Expand Down
2 changes: 1 addition & 1 deletion firmware/lm32/hdmi_in1.c
Expand Up @@ -138,7 +138,7 @@ void hdmi_in1_clear_framebuffers(void)
int i;
flush_l2_cache();
volatile unsigned int *framebuffer = (unsigned int *)(MAIN_RAM_BASE + HDMI_IN1_FRAMEBUFFERS_BASE);
for(i=0; i<HDMI_IN1_FRAMEBUFFERS_SIZE/4; i++) {
for(i=0; i<(HDMI_IN1_FRAMEBUFFERS_SIZE*FRAMEBUFFER_COUNT)/4; i++) {
framebuffer[i] = 0x80108010; /* black in YCbCr 4:2:2*/
}
}
Expand Down

0 comments on commit e025fa0

Please sign in to comment.