diff --git a/src/Utility/LEDFeedback/LEDFeedback.cpp b/src/Utility/LEDFeedback/LEDFeedback.cpp index ca670b5..bcbf864 100644 --- a/src/Utility/LEDFeedback/LEDFeedback.cpp +++ b/src/Utility/LEDFeedback/LEDFeedback.cpp @@ -48,7 +48,7 @@ const uint32_t cloud[][4] = { }; const uint32_t snake[][4] = { - { 0xffffffff, 0xffffffff, 0xffffffff, 1300 }, + { 0xffffffff, 0xffffffff, 0xffffffff, 2000 }, { 0x7fffffff, 0xffffffff, 0xfffff7ff, 66 }, { 0x3fe7ffff, 0xffffffff, 0xff7ff3fe, 66 }, { 0x1fc3fe7f, 0xfffffff7, 0xff3fe1fc, 66 }, @@ -194,6 +194,9 @@ void LEDFeedbackClass::setMode(LEDFeedbackMode mode) { _framePtr = nullptr; matrix.loadSequence(snake); matrix.play(true); + /* For fixing the issue that the first + * frame of the first run is not shown */ + matrix.loadSequence(snake); #endif _ledChangeInterval = HEARTBEAT_INTERVAL; _count = 0;