vexide icon indicating copy to clipboard operation
vexide copied to clipboard

fix(macro): wrap original function instead of re-writing

Open lewisfm opened this issue 1 year ago • 0 comments

Describe the changes this PR makes. Why should it be merged?

This PR updates the vexide-macro crate's codegen to wrap the original function rather than rewriting it. This fixes #74 and simplifies some of the logic for code generation. It also adds some related tests to the crate.

Additional Context

  • I have tested these changes on a VEX V5 brain.
  • See also: #74's example program

lewisfm avatar May 27 '24 05:05 lewisfm