Skip to content

Commit

Permalink
Update hw.c
Browse files Browse the repository at this point in the history
fix #9
  • Loading branch information
robert-burger authored and GitHub Enterprise committed May 21, 2024
1 parent c0ee5df commit 88672e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ int hw_open(hw_t *phw, struct ec *pec, const osal_char_t *devname, int prio, int
} else
#endif
#if LIBETHERCAT_BUILD_DEVICE_PIKEOS == 1
if (strncmp(ifname, "pikeos:", 4) == 0) {
if (strncmp(ifname, "pikeos:", 7) == 0) {
ifname = &ifname[7];

ec_log(10, "HW_OPEN", "Opening interface as pikeos: %s\n", ifname);
Expand Down

0 comments on commit 88672e7

Please sign in to comment.