Fix tracker setting initial state
Add debug msg until client done git-svn-id: https://dedected.org/svn/trunk@91 8d8ab74c-27aa-4a3d-9bde-523a2bc1f624
This commit is contained in:
parent
be7ad82766
commit
d42717dbc2
|
@ -41,7 +41,7 @@ PacketSource_Dect::PacketSource_Dect(GlobalRegistry *in_globalreg, string in_int
|
|||
|
||||
serial_fd = -1;
|
||||
sync = false;
|
||||
scan_mode = MODE_ASYNC_FP_SCAN;
|
||||
scan_mode = -1;
|
||||
|
||||
ParseOptions(in_opts);
|
||||
}
|
||||
|
@ -272,6 +272,8 @@ int PacketSource_Dect::Poll() {
|
|||
newpack->insert(_PCM(PACK_COMP_LINKFRAME), callchunk);
|
||||
globalreg->packetchain->ProcessPacket(newpack);
|
||||
|
||||
// printf("debug - dect newpack\n");
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
@ -157,7 +157,7 @@ int Tracker_Dect::chain_handler(kis_packet *in_pack) {
|
|||
fp->channel = di->sdata.channel;
|
||||
fp->rfpi = rfpi_mac;
|
||||
tracked_fp[rfpi_mac] = fp;
|
||||
// printf("debug - dect, new tracked FP %s\n", rfpi_mac.Mac2String().substr(0, 14).c_str());
|
||||
_MSG("debug - dect, new tracked FP " + fpi_mac.Mac2String().substr(0, 14), MSGFLAG_INFO);
|
||||
} else {
|
||||
fp = dtfi->second;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue