fxed flame code
This commit is contained in:
parent
4af4cfdf38
commit
6747f09c99
|
@ -124,7 +124,9 @@ void init_flame(void) {
|
||||||
|
|
||||||
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