Subversion Repositories svn.mios32

Compare Revisions

Ignore whitespace Rev 2433 → Rev 2434

/trunk/apps/synthesizers/midibox_fm_v2_1/src/terminal.c
39,7 → 39,7
#include "mbng_file_r.h"
 
#if !defined(MIOS32_FAMILY_EMULATION)
#include <umm_malloc.h>
extern void vPortMallocDebugInfo(void);
#endif
 
/////////////////////////////////////////////////////////////////////////////
636,11 → 636,13
/////////////////////////////////////////////////////////////////////////////
s32 TERMINAL_PrintMemoryInfo(void *_output_function)
{
//void (*out)(char *format, ...) = _output_function;
// TODO: umm_info doesn't allow to define output function
 
#if !defined(MIOS32_FAMILY_EMULATION)
umm_info( NULL, 1 );
#if defined(MIOS32_FAMILY_EMULATION)
void (*out)(char *format, ...) = _output_function;
out("Not supported in emulation!");
#else
MUTEX_MIDIOUT_TAKE;
vPortMallocDebugInfo();
MUTEX_MIDIOUT_GIVE;
#endif
 
return 0; // no error