fix some asserts: we have BT working now

This commit is contained in:
Eric House 2014-11-14 07:06:02 -08:00
parent f625332782
commit 1d1af9ffb3

View file

@ -1760,6 +1760,10 @@ preProcess( CommsCtxt* comms, const CommsAddrRec* useAddr,
#if defined XWFEATURE_SMS
case COMMS_CONN_SMS:
break; /* nothing to grab */
#endif
#ifdef XWFEATURE_BLUETOOTH
case COMMS_CONN_BT:
break; /* nothing to grab */
#endif
default:
XP_ASSERT(0);
@ -2459,6 +2463,13 @@ augmentChannelAddr( CommsCtxt* comms, AddressRecord* rec, const CommsAddrRec* ad
src = &addr->u.sms;
siz = sizeof(rec->addr.u.sms);
break;
#ifdef XWFEATURE_BLUETOOTH
case COMMS_CONN_BT:
dest = &rec->addr.u.bt;
src = &addr->u.bt;
siz = sizeof(rec->addr.u.bt);
break;
#endif
default:
XP_ASSERT(0);
break;