Initial support for low-level ATC functions #647
Replies: 4 comments 6 replies
-
If you add a code guard then I can add it as a 3rd party plugin to the Web Builder:
BTW flexihal_atc.h is not needed, plugins_init.h already has the prototype for the init function defined. Note: other implementations than this will have to be assigned a different |
Beta Was this translation helpful? Give feedback.
-
Code guard added and I removed flexihal_atc.h |
Beta Was this translation helpful? Give feedback.
-
I did try switching the atc polling over to using the task scheduler, and it works pretty well. I do occasionally see an issue with null pointers being referenced by this line here: Line 463 in c681661 I'm not sure if this is related to over-running the task queue? ATC is juts a 100ms polling loop, and I have the keypad plugin running also at 100 ms. |
Beta Was this translation helpful? Give feedback.
-
FWIW, I ran a test overnight with the latest core and a debugger attached and I have not seen the null pointer issue thus far, so it seems likely there was some improvement. |
Beta Was this translation helpful? Give feedback.
-
Didn't see a good way to do this sort of thing in macros, so I made a plugin for some low-level drawbar and sensor support.
https://github.com/Expatria-Technologies/flexihal_atc
Beta Was this translation helpful? Give feedback.
All reactions