Fix compiler warnings
- Patched up for most included configurations
This commit is contained in:
@ -263,8 +263,6 @@ void Config_StoreSettings() {
|
||||
EEPROM_WRITE_VAR(i, dummy);
|
||||
}
|
||||
|
||||
int storageSize = i;
|
||||
|
||||
char ver2[4] = EEPROM_VERSION;
|
||||
int j = EEPROM_OFFSET;
|
||||
EEPROM_WRITE_VAR(j, ver2); // validate data
|
||||
@ -446,7 +444,7 @@ void Config_ResetDefault() {
|
||||
float tmp1[] = DEFAULT_AXIS_STEPS_PER_UNIT;
|
||||
float tmp2[] = DEFAULT_MAX_FEEDRATE;
|
||||
long tmp3[] = DEFAULT_MAX_ACCELERATION;
|
||||
for (int i = 0; i < NUM_AXIS; i++) {
|
||||
for (uint16_t i = 0; i < NUM_AXIS; i++) {
|
||||
axis_steps_per_unit[i] = tmp1[i];
|
||||
max_feedrate[i] = tmp2[i];
|
||||
max_acceleration_units_per_sq_second[i] = tmp3[i];
|
||||
|
Reference in New Issue
Block a user