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

@ -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);
} }