Date: | 2013-01-31 08:10:50 (10 years 8 months ago) |
---|---|
Author: | Werner Almesberger |
Commit: | af3c18ab19f73ef659e24a2dce882e65b1fca639 |
Message: | ubb-la/try.c (main): use same buffer size and offset as the Ben |
Files: |
ubb-la/try.c (1 diff) |
Change Details
ubb-la/try.c | ||
---|---|---|
6 | 6 | |
7 | 7 | int main(int argc, char **argv) |
8 | 8 | { |
9 | static uint8_t buf[4000]; | |
9 | static uint8_t buf[4100]; | |
10 | 10 | int i; |
11 | 11 | |
12 | for (i = 0; i != 8000; i++) | |
12 | for (i = 0; i != 8128; i++) | |
13 | 13 | buf[i >> 1] |= (i & 0xf) << 4*(~i & 1); |
14 | 14 | gui_init(); |
15 | gui(buf, 0, 8000, argv[1] ? atof(argv[1]) : 1e6); | |
15 | gui(buf, 122, 8128, argv[1] ? atof(argv[1]) : 1e6); | |
16 | 16 | return 0; |
17 | 17 | } |
Branches:
master