1
0
Fork 0
forked from len0rd/rockbox

There is no printf() in rockbox, but DEBUGF() has the intended effect in simulator.

And this was the last warning in iriver builds :D


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6713 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Tomas Salfischberger 2005-06-14 19:04:47 +00:00
parent 184d82ec16
commit 88a89e0cdb

View file

@ -86,7 +86,7 @@ const int log = 0;
return; return;
#ifdef SIMULATOR #ifdef SIMULATOR
if (log) printf("%c%02X", (effect<10)?('0'+effect):('A'+effect-10), value); if (log) DEBUGF("%c%02X", (effect<10)?('0'+effect):('A'+effect-10), value);
#endif #endif
/* Linearisation of the effect number... */ /* Linearisation of the effect number... */
@ -99,7 +99,7 @@ if (log) printf("%c%02X", (effect<10)?('0'+effect):('A'+effect-10), value);
} }
#ifdef SIMULATOR #ifdef SIMULATOR
if (log) printf(" - %2d %02X", effect, value); if (log) DEBUGF(" - %2d %02X", effect, value);
#endif #endif
#if 0 // This should be handled in itrender.c! #if 0 // This should be handled in itrender.c!
@ -234,7 +234,7 @@ if (log) printf(" - %2d %02X", effect, value);
} }
#ifdef SIMULATOR #ifdef SIMULATOR
if (log) printf(" - %2d %02X", effect, value); if (log) DEBUGF(" - %2d %02X", effect, value);
#endif #endif
/* Inverse linearisation... */ /* Inverse linearisation... */
@ -244,7 +244,7 @@ if (log) printf(" - %2d %02X", effect, value);
} }
#ifdef SIMULATOR #ifdef SIMULATOR
if (log) printf(" - %c%02X\n", 'A'+effect-1, value); if (log) DEBUGF(" - %c%02X\n", 'A'+effect-1, value);
#endif #endif
entry->effect = effect; entry->effect = effect;