Skip to content

Commit

Permalink
- CS104 slave: convert bit field types to int types
Browse files Browse the repository at this point in the history
  • Loading branch information
mzillgith committed Oct 7, 2020
1 parent 9506c52 commit 06ea197
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib60870-C/src/iec60870/cs104/cs104_slave.c
Original file line number Diff line number Diff line change
Expand Up @@ -1092,11 +1092,11 @@ struct sMasterConnection {
unsigned int isRunning:1;
unsigned int timeoutT2Triggered:1;
unsigned int outstandingTestFRConMessages:3;
unsigned int maxSentASDUs:16; /* k-parameter */
int oldestSentASDU:16; /* oldest sent ASDU in k-buffer */
int newestSentASDU:16; /* newest sent ASDU in k-buffer */
unsigned int sendCount:16; /* sent messages - sequence counter */
unsigned int receiveCount:16; /* received messages - sequence counter */
uint16_t maxSentASDUs; /* k-parameter */
int16_t oldestSentASDU; /* oldest sent ASDU in k-buffer */
int16_t newestSentASDU; /* newest sent ASDU in k-buffer */
uint16_t sendCount; /* sent messages - sequence counter */
uint16_t receiveCount; /* received messages - sequence counter */

int unconfirmedReceivedIMessages; /* number of unconfirmed messages received */

Expand Down

0 comments on commit 06ea197

Please sign in to comment.