Subversion Repositories svn.mios32

Compare Revisions

Ignore whitespace Rev 2433 → Rev 2434

/trunk/apps/controllers/midio128_v3/src/terminal.c
34,7 → 34,11
#include "midio_file_p.h"
#include "mid_file.h"
 
#if !defined(MIOS32_FAMILY_EMULATION)
extern void vPortMallocDebugInfo(void);
#endif
 
 
/////////////////////////////////////////////////////////////////////////////
// Local defines
/////////////////////////////////////////////////////////////////////////////
388,10 → 392,15
/////////////////////////////////////////////////////////////////////////////
s32 TERMINAL_PrintMemoryInfo(void *_output_function)
{
#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
 
out("Not supported yet");
 
return 0; // no error
}
 
/trunk/apps/controllers/midibox_ng_v1/src/terminal.c
38,7 → 38,11
#include "mbng_file_c.h"
#include "mbng_file_r.h"
 
#if !defined(MIOS32_FAMILY_EMULATION)
extern void vPortMallocDebugInfo(void);
#endif
 
 
/////////////////////////////////////////////////////////////////////////////
//! Local defines
/////////////////////////////////////////////////////////////////////////////
661,10 → 665,15
/////////////////////////////////////////////////////////////////////////////
s32 TERMINAL_PrintMemoryInfo(void *_output_function)
{
#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
 
out("Not supported yet");
 
return 0; // no error
}
 
/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
/trunk/apps/processing/midibox_cv_v2/src/terminal.cpp
42,7 → 42,11
#include <ff.h>
}
 
#if !defined(MIOS32_FAMILY_EMULATION)
extern "C" void vPortMallocDebugInfo(void);
#endif
 
 
/////////////////////////////////////////////////////////////////////////////
// Local defines
/////////////////////////////////////////////////////////////////////////////
462,10 → 466,15
/////////////////////////////////////////////////////////////////////////////
s32 TERMINAL_PrintMemoryInfo(void *_output_function)
{
#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
 
out("Not supported yet");
 
return 0; // no error
}
 
/trunk/apps/sequencers/MB909/core/seq_terminal.c
62,8 → 62,9
#include "seq_statistics.h"
 
#if !defined(MIOS32_FAMILY_EMULATION)
#include "umm_malloc.h"
#include "uip_terminal.h"
 
extern void vPortMallocDebugInfo(void);
#endif
 
 
1162,11 → 1163,13
 
s32 SEQ_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