Commit 153f5ef4 authored by Claes Sjofors's avatar Claes Sjofors

Merge branch 'master' of pwrcvs:/data1/git/pwr

parents 0201bd6b 637e22ac
...@@ -931,8 +931,8 @@ void *handle_events(void *ptr) { ...@@ -931,8 +931,8 @@ void *handle_events(void *ptr) {
op->Status = PB__NOTINIT; op->Status = PB__NOTINIT;
} else { } else {
if (local->slave_diag_requested) { if (local->slave_diag_requested) {
errh_Info( "Profibus - Diag re-request"); // errh_Info( "Profibus - Diag re-request");
dp_get_slave_diag(hDevice); // dp_get_slave_diag(hDevice);
} }
} }
pthread_mutex_unlock(&local->mutex); pthread_mutex_unlock(&local->mutex);
......
...@@ -643,9 +643,9 @@ void pack_download_req(T_PNAK_SERVICE_REQ_RES *ServiceReqRes, GsdmlDeviceData *d ...@@ -643,9 +643,9 @@ void pack_download_req(T_PNAK_SERVICE_REQ_RES *ServiceReqRes, GsdmlDeviceData *d
pIOCR->SequenceHighByte = 0; pIOCR->SequenceHighByte = 0;
pIOCR->SequenceLowByte = 0; pIOCR->SequenceLowByte = 0;
pIOCR->WatchdogFactorHighByte = 0; pIOCR->WatchdogFactorHighByte = 0;
pIOCR->WatchdogFactorLowByte = 3; pIOCR->WatchdogFactorLowByte = 10;
pIOCR->DataHoldFactorHighByte = 0; pIOCR->DataHoldFactorHighByte = 0;
pIOCR->DataHoldFactorLowByte = 3; pIOCR->DataHoldFactorLowByte = 10;
pIOCR->FrameSendOffsetHighWordHighByte = 0xFF; // As fast as possible pIOCR->FrameSendOffsetHighWordHighByte = 0xFF; // As fast as possible
pIOCR->FrameSendOffsetHighWordLowByte = 0xFF; pIOCR->FrameSendOffsetHighWordLowByte = 0xFF;
pIOCR->FrameSendOffsetLowWordHighByte = 0xFF; pIOCR->FrameSendOffsetLowWordHighByte = 0xFF;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment