small correction
mode_oops() should not call mode_oops()
This commit is contained in:
@@ -135,7 +135,7 @@ static uint16_t mode_oops(void) {
|
||||
strip._colors_t[1] = BLUE;
|
||||
strip._colors_t[2] = GREEN;
|
||||
errorFlag = ERR_NORAM_PX;
|
||||
if (SEGLEN <= 1) return mode_oops();
|
||||
if (SEGLEN <= 1) return mode_static();
|
||||
const uint16_t width = SEGMENT.is2D() ? SEGMENT.virtualWidth() : SEGMENT.virtualLength();
|
||||
const uint16_t height = SEGMENT.virtualHeight();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user