update
This commit is contained in:
parent
28b1bf7ede
commit
8574eb6c2f
@ -250,7 +250,6 @@ int main(int argc, char** argv)
|
||||
config.processes[i].option.network.target_addr = INADDR_ANY;
|
||||
|
||||
config.units[uid].state = TRUE;
|
||||
|
||||
#endif
|
||||
unsigned int m_runCount = 0;
|
||||
unsigned int count = 0;
|
||||
|
@ -3241,7 +3241,7 @@ bool CRYDevice::ry_run(void)
|
||||
}
|
||||
publishdeviceEventData();
|
||||
int i = 0;
|
||||
#if 0
|
||||
#if 1
|
||||
for (int i = 0; i < UNIT_NUM; i++)
|
||||
{
|
||||
#else
|
||||
@ -3249,7 +3249,6 @@ bool CRYDevice::ry_run(void)
|
||||
m_nCurUnit++;
|
||||
if (m_nCurUnit >= UNIT_NUM) m_nCurUnit = 0;
|
||||
#endif
|
||||
do {
|
||||
if ((config.units[i].state & 0x01) != TRUE) break;
|
||||
if (config.units[i].type != MASTER_UNIT) break;
|
||||
MakeYKFrame(i);
|
||||
@ -3258,9 +3257,7 @@ bool CRYDevice::ry_run(void)
|
||||
publishAnalogData(i);
|
||||
publishStateData(i);
|
||||
}
|
||||
}
|
||||
while (0);
|
||||
#if 0
|
||||
#if 1
|
||||
}
|
||||
#endif
|
||||
return m_dataAcquisitionReload;
|
||||
|
Loading…
Reference in New Issue
Block a user