Skip to content

Commit

Permalink
Fix order of XCP_ASSERT_LE() calls.
Browse files Browse the repository at this point in the history
  • Loading branch information
christoph2 committed Nov 30, 2021
1 parent 11edf58 commit b432007
Show file tree
Hide file tree
Showing 7 changed files with 393 additions and 247 deletions.
1 change: 0 additions & 1 deletion examples/xcpsim/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ void AppTask(void);
int main(int argc, char **argv)
{
parse_options(argc, argv, &Xcp_Options);

FlsEmu_Init(&FlsEmu_Config);
Xcp_Init();
Xcp_DisplayInfo();
Expand Down
2 changes: 2 additions & 0 deletions inc/xcp_eth.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
typedef struct tagXcpTl_ConnectionType {
SOCKADDR_STORAGE connectionAddress;
SOCKADDR_STORAGE currentAddress;
SOCKADDR_STORAGE localAddress;
SOCKET boundSocket;
SOCKET connectedSocket;
bool connected;
Expand All @@ -58,6 +59,7 @@ typedef struct tagXcpTl_ConnectionType {
typedef struct tagXcpTl_ConnectionType {
struct sockaddr_storage connectionAddress;
struct sockaddr_storage currentAddress;
struct sockaddr_storage localAddress;
int boundSocket;
int connectedSocket;
bool connected;
Expand Down

0 comments on commit b432007

Please sign in to comment.