Skip to content

Commit

Permalink
#43 ClearScreen initializes Vector with the right size
Browse files Browse the repository at this point in the history
  • Loading branch information
martinberlin committed Jul 9, 2021
1 parent cd7875b commit 026a0c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/CalEPD/models/plasticlogic/plasticlogic021.cpp
Expand Up @@ -44,7 +44,7 @@ void PlasticLogic021::init(bool debug)
}

void PlasticLogic021::clearScreen(){
for (uint16_t x = 0; x < sizeof(_buffer); x++)
for (uint16_t x = 0; x < PLOGIC021_BUFFER_SIZE; x++)
{
_buffer.push_back(0xff); //WHITE
}
Expand Down

0 comments on commit 026a0c9

Please sign in to comment.