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

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