mirror of
git://projects.qi-hardware.com/ben-blinkenlights.git
synced 2024-11-16 18:45:54 +02:00
ubb-la/try.c (main): use same buffer size and offset as the Ben
This commit is contained in:
parent
f26fd3564a
commit
af3c18ab19
@ -6,12 +6,12 @@
|
||||
|
||||
int main(int argc, char **argv)
|
||||
{
|
||||
static uint8_t buf[4000];
|
||||
static uint8_t buf[4100];
|
||||
int i;
|
||||
|
||||
for (i = 0; i != 8000; i++)
|
||||
for (i = 0; i != 8128; i++)
|
||||
buf[i >> 1] |= (i & 0xf) << 4*(~i & 1);
|
||||
gui_init();
|
||||
gui(buf, 0, 8000, argv[1] ? atof(argv[1]) : 1e6);
|
||||
gui(buf, 122, 8128, argv[1] ? atof(argv[1]) : 1e6);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user