We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4abc053 commit 7fa4167Copy full SHA for 7fa4167
src/boards/Inkplate10.cpp
@@ -141,8 +141,8 @@ bool Inkplate::begin()
141
_partial = (uint8_t *)ps_malloc(E_INK_WIDTH * E_INK_HEIGHT / 8);
142
_pBuffer = (uint8_t *)ps_malloc(E_INK_WIDTH * E_INK_HEIGHT / 4);
143
DMemory4Bit = (uint8_t *)ps_malloc(E_INK_WIDTH * E_INK_HEIGHT / 2);
144
- GLUT = (uint32_t *)malloc(256 * 8 * sizeof(uint32_t));
145
- GLUT2 = (uint32_t *)malloc(256 * 8 * sizeof(uint32_t));
+ GLUT = (uint32_t *)malloc(256 * 9 * sizeof(uint32_t));
+ GLUT2 = (uint32_t *)malloc(256 * 9 * sizeof(uint32_t));
146
if (DMemoryNew == NULL || _partial == NULL || _pBuffer == NULL || DMemory4Bit == NULL || GLUT == NULL ||
147
GLUT2 == NULL)
148
{
0 commit comments