4
Fork 0

Update BrandMeisterBridge.cpp

This commit is contained in:
PD0ZRY Rudy 2017-10-24 17:50:41 +00:00
parent b99aeaa581
commit 49f29dbb31

View file

@ -39,7 +39,7 @@ void BrandMeisterBridge::setProxyConfiguration(const char* configuration)
// <Network ID>:<PatchCord ID> // <Network ID>:<PatchCord ID>
uint32_t network = strtol(pointer + 0, &pointer, 10); uint32_t network = strtol(pointer + 0, &pointer, 10);
uint32_t link = strtol(pointer + 1, &pointer, 10); uint32_t link = strtol(pointer + 1, &pointer, 10);
proxy = new PatchCordProxy(network, link); proxy = new PatchCord(network, link);
} }
const char* BrandMeisterBridge::getTalker() const char* BrandMeisterBridge::getTalker()
@ -53,8 +53,8 @@ const char* BrandMeisterBridge::getTalker()
free(talker); free(talker);
uint32_t number = proxy->getTalkerID(); uint32_t number = proxy->getTalkerID();
char call[LONG_CALLSIGN_LENGTH]; char call[16];
char text[SLOW_DATA_TEXT_LENGTH]; char text[48];
if ((number != 0) && if ((number != 0) &&
(proxy->getCredentialsForID(number, call, text))) (proxy->getCredentialsForID(number, call, text)))
{ {