Skip to content

Commit cd8f9b9

Browse files
authored
Merge pull request #146 from e-radionicacom/hotfix
Fixed GLUT size that caused WiFi to crash.
2 parents a0dd222 + 7fa4167 commit cd8f9b9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=InkplateLibrary
2-
version=5.6.0
2+
version=5.7.0
33
author=e-radionica.com <[email protected]>
44
maintainer=David Zovko <[email protected]>
55
sentence=Inkplate boards driver library

src/boards/Inkplate10.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ bool Inkplate::begin()
141141
_partial = (uint8_t *)ps_malloc(E_INK_WIDTH * E_INK_HEIGHT / 8);
142142
_pBuffer = (uint8_t *)ps_malloc(E_INK_WIDTH * E_INK_HEIGHT / 4);
143143
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));
144+
GLUT = (uint32_t *)malloc(256 * 9 * sizeof(uint32_t));
145+
GLUT2 = (uint32_t *)malloc(256 * 9 * sizeof(uint32_t));
146146
if (DMemoryNew == NULL || _partial == NULL || _pBuffer == NULL || DMemory4Bit == NULL || GLUT == NULL ||
147147
GLUT2 == NULL)
148148
{

0 commit comments

Comments
 (0)