void debug_remote(char *s)
{
    if(VirtualSerial_connected)
    {
        VirtualSerial_PutString(s);
    }
}
void debug(char *s)
{
    if(conf.debugEnabled == 0) return;
    if(VirtualSerial_connected)
        VirtualSerial_PutString(s);
    //else if(remote.connected && remote.model == REMOTE_MODEL_TLP)
        //remote.debug(s);
    else if(bt.state == BT_ST_CONNECTED)
        bt.send(s);
}
void debug(char *s)
{
    if(conf.debugEnabled == 0) return;
//#ifndef PTP_DEBUG
#ifndef LOGGER_ENABLED
    if(VirtualSerial_connected)
        VirtualSerial_PutString(s);
//    else if(remote.connected && remote.model == REMOTE_MODEL_TLP)
//        remote.debug(s);
//    else if(bt.state == BT_ST_CONNECTED && remote.model == 0)
#endif
//       if(bt.state == BT_ST_CONNECTED) bt.send(s);
}
Example #4
0
void debug(char *s)
{
	VirtualSerial_PutString(s);
}