change debugging printout
This commit is contained in:
parent
de4d11e5a7
commit
d41580c415
2 changed files with 3 additions and 7 deletions
|
|
@ -84,7 +84,8 @@ void pdmain_print( const char *s)
|
|||
char y[80];
|
||||
strncpy(y, s, 79);
|
||||
y[79]=0;
|
||||
ESP_LOGI(TAG, "%s", y);
|
||||
ESP_LOGI(TAG, "post %d: %s", strlen(y), y);
|
||||
if (strlen(y) > 0)
|
||||
pd_bt_writeback((unsigned char *)y, strlen(y));
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -61,10 +61,7 @@ void pd_sendmsg(char *buf, int bufsize)
|
|||
{
|
||||
static t_binbuf *b;
|
||||
if (!b)
|
||||
{
|
||||
b = binbuf_new();
|
||||
post("new binbuf %x", b);
|
||||
}
|
||||
binbuf_text(b, buf, bufsize);
|
||||
binbuf_eval(b, 0, 0, 0);
|
||||
}
|
||||
|
|
@ -74,9 +71,7 @@ void canvas_start_dsp( void);
|
|||
void pdmain_init( void)
|
||||
{
|
||||
sys_printhook = pdmain_print;
|
||||
trymem(1);
|
||||
pd_init();
|
||||
trymem(2);
|
||||
STUFF->st_dacsr = sys_getsr();
|
||||
STUFF->st_soundout = soundout;
|
||||
STUFF->st_soundin = soundin;
|
||||
|
|
|
|||
Loading…
Reference in a new issue