mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Move framebuffer to separate header
This commit is contained in:
parent
ab87906cac
commit
4afc74a3c1
10
src/framebuffer.h
Normal file
10
src/framebuffer.h
Normal file
@ -0,0 +1,10 @@
|
||||
#ifndef __FRAMEBUFFER_H__
|
||||
#define __FRAMEBUFFER_H__
|
||||
extern char _main_ram_start;
|
||||
static struct framebuffer {
|
||||
int w;
|
||||
int h;
|
||||
int bpp;
|
||||
uint8_t pixels[];
|
||||
}*fb = (struct framebuffer *) &_main_ram_start;
|
||||
#endif /* __FRAMEBUFFER_H__ */
|
||||
Loading…
Reference in New Issue
Block a user