fxed flame code
This commit is contained in:
parent
4af4cfdf38
commit
6747f09c99
|
@ -123,9 +123,11 @@ void init_flame(void) {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
flameInit(flamesEnabled);
|
flameInit(flamesEnabled);
|
||||||
|
|
||||||
rgbDataSize = readTextFile("FLAME.RGB", (char *)rgbData, 24);
|
int s = readFile("FLAME.RGB", (char *)rgbData, 24);
|
||||||
|
if( s > 0 )
|
||||||
|
rgbDataSize = s;
|
||||||
|
|
||||||
enableConfig(CFG_TYPE_FLAME,1);
|
enableConfig(CFG_TYPE_FLAME,1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue