Skip to content
Snippets Groups Projects
Commit 48338ba8 authored by Manuel Kasten's avatar Manuel Kasten
Browse files

fb16

parent 0c027e6c
No related branches found
No related tags found
No related merge requests found
Pipeline #3361 passed
...@@ -1182,6 +1182,8 @@ enum disp_fillstyle { ...@@ -1182,6 +1182,8 @@ enum disp_fillstyle {
union disp_framebuffer { union disp_framebuffer {
/** Coordinate based access (as shown in the example above). */ /** Coordinate based access (as shown in the example above). */
uint8_t fb[DISP_HEIGHT][DISP_WIDTH][2]; uint8_t fb[DISP_HEIGHT][DISP_WIDTH][2];
/** Coordinate based access to 16bit color value. */
uint16_t fb16[DISP_HEIGHT][DISP_WIDTH];
/** Raw byte-indexed access. */ /** Raw byte-indexed access. */
uint8_t raw[DISP_HEIGHT*DISP_WIDTH*2]; uint8_t raw[DISP_HEIGHT*DISP_WIDTH*2];
}; };
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment