[BusyBox] fbset depth
Rolland Dudemaine
rolland.dudemaine at msg-software.com
Tue Sep 17 02:33:03 UTC 2002
Hello,
is it possible that someone add depth change in fbset.c ?
That's a 3-line patch, but it's coming very handy, as there is already
screen sizes changes in there.
Here are the lines to add (add the CMD_DEPTH thingy, the two others are
already there) :
#ifdef CONFIG_FEATURE_FBSET_FANCY
case CMD_XRES:
varset.xres = strtoul(argv[1], 0, 0);
break;
case CMD_YRES:
varset.yres = strtoul(argv[1], 0, 0);
break;
case CMD_DEPTH:
varset.bits_per_pixel = strtoul(argv[1], 0, 0);
break;
#endif
Thanks,
Best regards,
Rolland Dudemaine
More information about the busybox
mailing list