Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nodave.c
Original file line number Diff line number Diff line change
Expand Up @@ -4002,7 +4002,7 @@ int DECL2 _daveConnectPLCTCP(daveConnection * dc) {

0xC0, // Parameter requested TPDU-Size
1, // Length of this parameter
9, // requested TPDU-Size 8=256 Bytes, 9=512 Bytes
10, // requested TPDU-Size 8=256 Bytes, 9=512 Bytes, 10=1024 bytes needed to use 960 bytes PDU on S7-1500
};

uc b243[]={
Expand Down Expand Up @@ -5283,7 +5283,7 @@ int DECL2 _daveConnectPLC_IBH(daveConnection*dc) {
dc->ibhDstConn=20-1;
retries=0;
do {
if (daveDebug & daveDebugConnect) // show only if in debug mode
if (daveDebug & daveDebugConnect) // show only if in debug mode
LOG1("trying next ID:\n");
dc->ibhSrcConn++;
chal3[8]=dc->ibhSrcConn;
Expand Down