-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arduino Compiling error #1
Comments
Replace the init function with this code:
FYI I have not tested the fix yet - will do so later. |
Hi Terje,
|
Oops, another regression... Move these lines to line 2295 (just before the I will update when I have finished some other changes that are pending (related to networking). |
Hello,
I wanted to update my machine from a version from 2021, but when I try to compile the code with Arduino IDE 1.8.13 I get the following Error. I can't flash my Teensy 4.1 Board.
When I disable the Plugin in the file "mymachine.h", it works without a problem.
#define QEI_ENABLE 1 // Enable quadrature encoder interfaces. Max value is 1. Requires encoder plugin.
Arduino: 1.8.13 (Windows 10), TD: 1.57, Board: "Teensy 4.1, Serial, 600 MHz, Faster, German" C:\Users\xxx\OneDrive\Dokumente\Arduino\libraries\grblHAL_Teensy4\src\encoder\encoder.c: In function 'encoder_init': C:\Users\xxx\OneDrive\Dokumente\Arduino\libraries\grblHAL_Teensy4\src\encoder\encoder.c:790:16: error: 'setting_details_t {aka struct setting_details}' has no member named 'on_get_settings' details.on_get_settings = grbl.on_get_settings; C:\Users\xxx\OneDrive\Dokumente\Arduino\libraries\grblHAL_Teensy4\src\encoder\encoder.c: At top level: C:\Users\xxx\OneDrive\Dokumente\Arduino\libraries\grblHAL_Teensy4\src\encoder\encoder.c:113:13: warning: 'mpg_move_absolute' defined but not used [-Wunused-function] static bool mpg_move_absolute (sys_state_t state, axes_signals_t axes) Fehler beim Kompilieren für das Board Teensy 4.1.
Does anyone have the same issue? Or is there something I'm missing :-)
The text was updated successfully, but these errors were encountered: