Skip to content

Commit

Permalink
Fixed debug output for output_mode to actually print output_mode inst…
Browse files Browse the repository at this point in the history
…ead of output_type.
  • Loading branch information
longsleep committed Apr 19, 2016
1 parent 2318225 commit a47674e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions board/sunxi/common/de_v3.c
Expand Up @@ -539,7 +539,7 @@ int board_display_device_open(void)
printf("fetch script data boot_disp.output_mode fail\n");
err_count ++;
} else
printf("boot_disp.output_type=%d\n", output_mode);
printf("boot_disp.output_mode=%d\n", output_mode);

/* getproc auto_hpd, indicate output device decided by the hot plug status of device */
if (fdt_getprop_u32(working_fdt, node, "auto_hpd", (uint32_t*)&auto_hpd) < 0) {
Expand Down Expand Up @@ -680,4 +680,4 @@ void board_display_setenv(char *data)
return;
}

#endif
#endif

0 comments on commit a47674e

Please sign in to comment.