mirror of
https://github.com/g4klx/DAPNETGateway.git
synced 2026-08-26 12:32:45 -04:00
Small cleanups.
This commit is contained in:
parent
9dc06e3350
commit
54173174d0
6 changed files with 14 additions and 16 deletions
|
|
@ -128,7 +128,7 @@ bool CDAPNETNetwork::read()
|
|||
unsigned int addr = ::strtoul(p3, NULL, 16);
|
||||
unsigned int func = ::strtoul(p4, NULL, 10);
|
||||
|
||||
m_message = new CPOCSAGMessage(type == 1U ? TYPE_ALPHA_NUMERIC : TYPE_NUMERIC, addr, func, (unsigned char*)p5, ::strlen(p5));
|
||||
m_message = new CPOCSAGMessage(type, addr, func, (unsigned char*)p5, ::strlen(p5));
|
||||
|
||||
id = (id + 1U) % 256UL;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue