You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello. If you activate the display, an error occurs during compilation:
Arduino: 1.8.19 (Windows 10), Плата:"Teensy 4.1, Serial, 600 MHz, Faster, US English"
D:\Arduino\libraries\grblHAL_Teensy4\src\keypad\display\i2c_interface.c: In function 'send_status_info':
D:\Arduino\libraries\grblHAL_Teensy4\src\keypad\display\i2c_interface.c:124:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
((overrides_t *)status_packet.msg)->spindle_rpm = spindle->param->override_pct;
^
D:\Arduino\libraries\grblHAL_Teensy4\src\keypad\display\i2c_interface.c: In function 'set_state':
D:\Arduino\libraries\grblHAL_Teensy4\src\keypad\display\i2c_interface.c:142:38: warning: implicit declaration of function 'state_get_substate' [-Wimplicit-function-declaration]
status_packet.machine_substate = state_get_substate();
^
D:\Arduino\libraries\grblHAL_Teensy4\src\keypad\display\i2c_interface.c: In function 'add_reports':
D:\Arduino\libraries\grblHAL_Teensy4\src\keypad\display\i2c_interface.c:359:39: error: too few arguments to function 'spindle->get_state'
status_packet.spindle_state = spindle->get_state();
^
exit status 1
This error has never occurred before.
The text was updated successfully, but these errors were encountered:
Hello. If you activate the display, an error occurs during compilation:
Arduino: 1.8.19 (Windows 10), Плата:"Teensy 4.1, Serial, 600 MHz, Faster, US English"
D:\Arduino\libraries\grblHAL_Teensy4\src\keypad\display\i2c_interface.c: In function 'send_status_info':
D:\Arduino\libraries\grblHAL_Teensy4\src\keypad\display\i2c_interface.c:124:17: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
((overrides_t *)status_packet.msg)->spindle_rpm = spindle->param->override_pct;
^
D:\Arduino\libraries\grblHAL_Teensy4\src\keypad\display\i2c_interface.c: In function 'set_state':
D:\Arduino\libraries\grblHAL_Teensy4\src\keypad\display\i2c_interface.c:142:38: warning: implicit declaration of function 'state_get_substate' [-Wimplicit-function-declaration]
status_packet.machine_substate = state_get_substate();
^
D:\Arduino\libraries\grblHAL_Teensy4\src\keypad\display\i2c_interface.c: In function 'add_reports':
D:\Arduino\libraries\grblHAL_Teensy4\src\keypad\display\i2c_interface.c:359:39: error: too few arguments to function 'spindle->get_state'
status_packet.spindle_state = spindle->get_state();
^
exit status 1
This error has never occurred before.
The text was updated successfully, but these errors were encountered: