Browse Source

debug code added

master
tth 6 months ago
parent
commit
a27a165404
1 changed files with 3 additions and 1 deletions
  1. +3
    -1
      Fonderie/crapulator.c

+ 3
- 1
Fonderie/crapulator.c View File

@ -157,7 +157,7 @@ return retval;
* processor.
*/
#define DEBUG_THIS_CRAP 0
#define DEBUG_THIS_CRAP 100
int crapulator(FloatImg *image, int idFx, float fval)
{
@ -298,6 +298,8 @@ switch (idFx) {
case CR_message:
fprintf(stderr, "### msg from pid %d, fval=%f ###\n",
getpid(), fval);
/* here, we can display stats ! */
fimg_describe(image, "in crapulator");
retval = 0;
break;


Loading…
Cancel
Save