Add a slightly better test in the main.cpp

This commit is contained in:
Brian Bulkowski
2020-09-15 01:01:15 -07:00
parent 33f0f05ebb
commit 750661abcd
2 changed files with 21 additions and 13 deletions
@@ -408,7 +408,8 @@ protected:
// -- Convert all pixels to RMT pulses
// This function is only used when the user chooses to use the
// built-in RMT driver, which needs all of the RMT pulses
// up-front.
// up-front. TODO: this has a large memory allocation which
// could fail, should return an error if so
void convertAllPixelData(PixelController<RGB_ORDER> & pixels)
{
// -- Make sure the data buffer is allocated