FreeCalypso > hg > freecalypso-sw
changeset 202:b26b7459bd44
pirexplore: lcdramp command renamed to lcdtest: the bars aren't a ramp
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Thu, 19 Dec 2013 08:32:33 +0000 |
parents | 84611183c8c3 |
children | 99c234bf6a9b |
files | target-utils/pirexplore/cmdtab.c target-utils/pirexplore/lcd.c |
diffstat | 2 files changed, 7 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/target-utils/pirexplore/cmdtab.c Thu Dec 19 08:26:14 2013 +0000 +++ b/target-utils/pirexplore/cmdtab.c Thu Dec 19 08:32:33 2013 +0000 @@ -7,7 +7,7 @@ extern void cmd_jump(); extern void cmd_lcdfill(); extern void cmd_lcdinit(); -extern void cmd_lcdramp(); +extern void cmd_lcdtest(); extern void cmd_r8(); extern void cmd_r16(); extern void cmd_r32(); @@ -32,7 +32,7 @@ {"jump", cmd_jump}, {"lcdfill", cmd_lcdfill}, {"lcdinit", cmd_lcdinit}, - {"lcdramp", cmd_lcdramp}, + {"lcdtest", cmd_lcdtest}, {"r8", cmd_r8}, {"r16", cmd_r16}, {"r32", cmd_r32},
--- a/target-utils/pirexplore/lcd.c Thu Dec 19 08:26:14 2013 +0000 +++ b/target-utils/pirexplore/lcd.c Thu Dec 19 08:32:33 2013 +0000 @@ -189,10 +189,14 @@ } void -cmd_lcdramp() +cmd_lcdtest() { int i, j, k, p; + /* + * The result of this command should be 8 vertical bars + * in the natural RGB order. + */ set_lcd_addr_region(10, 89, 10, 89); for (i = 0; i < 80; i++) { for (j = 0; j < 8; j++) {