Changeset 589 for soft/giet_vm/applications/display/main.c
- Timestamp:
- Jul 8, 2015, 3:57:15 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/applications/display/main.c
r574 r589 16 16 #define NLINES 256 17 17 #define NIMAGES 1 18 #define NBLOCKS (NPIXELS*NLINES/512) // number of blocks per image19 18 20 19 #define INTERACTIVE 1 … … 69 68 { 70 69 // load buf0 71 giet_fat_read( fd, buf0, N BLOCKS, image*NBLOCKS );70 giet_fat_read( fd, buf0, NPIXELS*NLINES ); 72 71 73 72 giet_tty_printf("\n[DISPLAY] Proc[%d,%d,%d] load image %d at cycle %d\n", … … 85 84 86 85 // load buf1 87 giet_fat_read( fd, buf1, N BLOCKS, image*NBLOCKS );86 giet_fat_read( fd, buf1, NPIXELS*NLINES ); 88 87 89 88 giet_tty_printf("\n[DISPLAY] Proc[%d,%d,%d] load image %d at cycle %d\n",
Note: See TracChangeset
for help on using the changeset viewer.