-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Description
Hi Terje, how would you feel about moving the modbus files out of here to their own folder? I think this would be cleaner for any future plugins that also use modbus..
Don't think I can make a pull request for this, as it would need a new submodule - but changes would be (1) creating a new 'modbus' source folder in STM32CubeIDE, (2) moving the two modbus.* files, and (3) changing the include path in huangyang.h as follows;
diff --git a/spindle/huanyang.h b/spindle/huanyang.h
index 22d8e41..e8f219c 100644
--- a/spindle/huanyang.h
+++ b/spindle/huanyang.h
@@ -37,7 +37,7 @@
#endif
#define VFD_SPINDLE 1
-#include "modbus.h"
+#include "modbus/modbus.h"
void huanyang_init (modbus_stream_t *stream);
I have a Huangyang VFD here on the bench that I'm testing with, using the STM32F4xx driver. (My interest here is that I'm picking up on my modbus control panel & plugin work again).
Regards, Jon.
Metadata
Metadata
Assignees
Labels
No labels