Skip to content

hm2_modbus: Don't complain about relative paths, it is up to the user - #4376

Merged
grandixximo merged 1 commit into
LinuxCNC:masterfrom
BsAtHome:fix_hm2_modbus-abs-path
Aug 14, 2026
Merged

hm2_modbus: Don't complain about relative paths, it is up to the user#4376
grandixximo merged 1 commit into
LinuxCNC:masterfrom
BsAtHome:fix_hm2_modbus-abs-path

Conversation

@BsAtHome

Copy link
Copy Markdown
Contributor

This PR removes the absolute path check in the hm2_modbus driver.

The default is to cd into the directory where the INI-file lives. And, if your mbccb file(s) live in there, then there is no need to complain. Therefore, the path is now fully up to the user to make it work.

@grandixximo

Copy link
Copy Markdown
Contributor

Beat me to it I guess, should have asked, your code, sorry....

@grandixximo
grandixximo merged commit 5e4329c into LinuxCNC:master Aug 14, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants