File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -528,6 +528,7 @@ uint8_t gc_execute_line(char *line)
528528 else { coord_select = gc_block .modal .coord_select ; } // Index P0 as the active coordinate system
529529
530530 // NOTE: Store parameter data in IJK values. By rule, they are not in use with this command.
531+ // FIXME: Instead of IJK, we'd better use: float vector[N_AXIS]; // [DG]
531532 if (!settings_read_coord_data (coord_select ,gc_block .values .ijk )) { FAIL (STATUS_SETTING_READ_FAIL ); } // [EEPROM read fail]
532533
533534 // Pre-calculate the coordinate data changes.
Original file line number Diff line number Diff line change @@ -195,7 +195,7 @@ typedef struct {
195195
196196typedef struct {
197197 float f ; // Feed
198- float ijk [3 ]; // I,J,K Axis arc offsets
198+ float ijk [N_AXIS ]; // I,J,K Axis arc offsets
199199 uint8_t l ; // G10 or canned cycles parameters
200200 int32_t n ; // Line number
201201 float p ; // G10 or dwell parameters
You can’t perform that action at this time.
0 commit comments