fxed flame code

This commit is contained in:
schneider 2011-12-25 14:12:30 +01:00
parent 4af4cfdf38
commit 6747f09c99
1 changed files with 5 additions and 3 deletions

View File

@ -123,9 +123,11 @@ void init_flame(void) {
return;
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);
}