diff options
author | Dario Binacchi <dario.binacchi@amarulasolutions.com> | 2022-09-09 09:05:52 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2022-11-16 13:40:34 +0100 |
commit | 75fbff1326674b768cee66f32e3799d5bff5e194 (patch) | |
tree | 96af0a82ee849ff73acdfae9edcf5f7ed8c9eb67 /util-linux/fbset.c | |
parent | e8dfa0c1bedf69783e54b5a7798fb14dcaeb0434 (diff) | |
download | busybox-w32-75fbff1326674b768cee66f32e3799d5bff5e194.tar.gz busybox-w32-75fbff1326674b768cee66f32e3799d5bff5e194.tar.bz2 busybox-w32-75fbff1326674b768cee66f32e3799d5bff5e194.zip |
fbset: support setting pixel clock rate
Only in case the FEATURE_FBSET_FANCY configuration is enabled.
function old new delta
fbset_main 733 766 +33
Signed-off-by: Dario Binacchi <dario.binacchi@amarulasolutions.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to '')
-rw-r--r-- | util-linux/fbset.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util-linux/fbset.c b/util-linux/fbset.c index 0eaa7c0a6..768ab80eb 100644 --- a/util-linux/fbset.c +++ b/util-linux/fbset.c | |||
@@ -518,6 +518,9 @@ int fbset_main(int argc, char **argv) | |||
518 | case CMD_DEPTH: | 518 | case CMD_DEPTH: |
519 | var_set.bits_per_pixel = xatou32(argv[1]); | 519 | var_set.bits_per_pixel = xatou32(argv[1]); |
520 | break; | 520 | break; |
521 | case CMD_PIXCLOCK: | ||
522 | var_set.pixclock = xatou32(argv[1]); | ||
523 | break; | ||
521 | #endif | 524 | #endif |
522 | default: | 525 | default: |
523 | bb_perror_msg_and_die("option '%s' not handled", | 526 | bb_perror_msg_and_die("option '%s' not handled", |