Merge branch 'master' of ssh://github.com/r0ket/r0ket

This commit is contained in:
roy rocket 2011-12-25 15:57:12 +01:00
commit 806c2eb222
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);
}