BMP are read on the stack to avoid a malloc. Lua memory displayed when

pressing [Menu Long]
This commit is contained in:
bsongis
2014-05-30 16:14:54 +02:00
parent 687ddd8f4d
commit 950f651af9
4 changed files with 30 additions and 23 deletions
+1 -2
View File
@@ -257,8 +257,7 @@ void lcdSetContrast();
void lcdRefresh();
#if defined(PCBTARANIS)
typedef uint8_t * bmp_ptr_t;
const pm_char * bmpLoad(bmp_ptr_t &dest, const char *filename, const xcoord_t width, const uint8_t height);
const pm_char * bmpLoad(uint8_t *dest, const char *filename, const xcoord_t width, const uint8_t height);
#endif
#if defined(BOOT)