diff options
author | wdenk <wdenk> | 2003-05-21 20:26:20 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2003-05-21 20:26:20 +0000 |
commit | c8c3a8be2dd09e51d7dc33f431e3a638ac5688f2 (patch) | |
tree | 4c88c168e175f41678574f3d72131d9222f722ff /board/trab/vfd.c | |
parent | 82226bf4d2fe87076d7f5d7e2677fdd5d0e35fc2 (diff) |
Add support for arbitrary bitmaps for TRAB's VFD command;
allow to pass boot bitmap addresses in environment variables;
allow for zero boot delay
Diffstat (limited to 'board/trab/vfd.c')
-rw-r--r-- | board/trab/vfd.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/board/trab/vfd.c b/board/trab/vfd.c index d0dcedcec8..e00294f0fe 100644 --- a/board/trab/vfd.c +++ b/board/trab/vfd.c @@ -346,9 +346,10 @@ void transfer_pic(int display, unsigned char *adr, int height, int width) } } } - display++; - if (display > 3) - display = 0; + if (display > 0) + display--; + else + display = 3; } } |