G28/G30 post move bug fix. Altered file permissions.

This commit is contained in:
Sonny Jeon 2012-11-25 22:02:33 -07:00
parent 9e0ce55dbc
commit bba633101a
28 changed files with 1 additions and 0 deletions

0
COPYING Executable file → Normal file
View File

0
Makefile Executable file → Normal file
View File

0
config.h Executable file → Normal file
View File

0
eeprom.c Executable file → Normal file
View File

0
eeprom.h Executable file → Normal file
View File

1
gcode.c Executable file → Normal file
View File

@ -332,6 +332,7 @@ uint8_t gc_execute_line(char *line)
if (non_modal_action == NON_MODAL_GO_HOME_1) { home_select = SETTING_INDEX_G30; } if (non_modal_action == NON_MODAL_GO_HOME_1) { home_select = SETTING_INDEX_G30; }
if (!settings_read_coord_data(home_select,coord_data)) { return(STATUS_SETTING_READ_FAIL); } if (!settings_read_coord_data(home_select,coord_data)) { return(STATUS_SETTING_READ_FAIL); }
mc_line(coord_data[X_AXIS], coord_data[Y_AXIS], coord_data[Z_AXIS], settings.default_seek_rate, false); mc_line(coord_data[X_AXIS], coord_data[Y_AXIS], coord_data[Z_AXIS], settings.default_seek_rate, false);
memcpy(gc.position, coord_data, sizeof(coord_data)); // gc.position[] = coord_data[];
axis_words = 0; // Axis words used. Lock out from motion modes by clearing flags. axis_words = 0; // Axis words used. Lock out from motion modes by clearing flags.
break; break;
case NON_MODAL_SET_HOME_0: case NON_MODAL_SET_HOME_1: case NON_MODAL_SET_HOME_0: case NON_MODAL_SET_HOME_1:

0
gcode.h Executable file → Normal file
View File

0
limits.c Executable file → Normal file
View File

0
limits.h Executable file → Normal file
View File

0
main.c Executable file → Normal file
View File

0
motion_control.c Executable file → Normal file
View File

0
motion_control.h Executable file → Normal file
View File

0
nuts_bolts.c Executable file → Normal file
View File

0
nuts_bolts.h Executable file → Normal file
View File

0
planner.c Executable file → Normal file
View File

0
planner.h Executable file → Normal file
View File

0
print.c Executable file → Normal file
View File

0
print.h Executable file → Normal file
View File

0
protocol.c Executable file → Normal file
View File

0
protocol.h Executable file → Normal file
View File

0
readme.textile Executable file → Normal file
View File

0
serial.c Executable file → Normal file
View File

0
serial.h Executable file → Normal file
View File

0
settings.h Executable file → Normal file
View File

0
spindle_control.c Executable file → Normal file
View File

0
spindle_control.h Executable file → Normal file
View File

0
stepper.c Executable file → Normal file
View File

0
stepper.h Executable file → Normal file
View File