Skip to content

Commit

Permalink
Merge pull request #5 from zakariazh/main
Browse files Browse the repository at this point in the history
Fix linking error in iolink_handler
  • Loading branch information
elupus authored Nov 15, 2023
2 parents ebc3928 + daf9db4 commit 325eecd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions samples/ifm_sample_app/iolink_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
return 1; \
}

iolink_app_master_ctx_t iolink_app_master;

static void SMI_cnf_cb (
void * arg,
uint8_t portnumber,
Expand Down
2 changes: 1 addition & 1 deletion samples/ifm_sample_app/iolink_handler.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ typedef struct iolink_app_master_ctx
uint32_t masterid;
} iolink_app_master_ctx_t;

iolink_app_master_ctx_t iolink_app_master;
extern iolink_app_master_ctx_t iolink_app_master;

void iolink_handler (iolink_m_cfg_t m_cfg);

Expand Down

0 comments on commit 325eecd

Please sign in to comment.