Merge pull request #669 from PavelSindler/MK3_for_merging

MK25: SILENT_MODE_NORMAL changed to SILENT_MODE_POWER
This commit is contained in:
PavelSindler 2018-04-26 15:13:41 +02:00 committed by GitHub
commit cbbedfa96c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6051,7 +6051,7 @@ Sigma_Exit:
tmc2130_set_current_r(E_AXIS, tmc2130_current_r_bckp); tmc2130_set_current_r(E_AXIS, tmc2130_current_r_bckp);
#else #else
uint8_t silentMode = eeprom_read_byte((uint8_t*)EEPROM_SILENT); uint8_t silentMode = eeprom_read_byte((uint8_t*)EEPROM_SILENT);
if(silentMode != SILENT_MODE_NORMAL) st_current_set(2, tmp_motor[2]); //set E back to normal operation currents if(silentMode != SILENT_MODE_POWER) st_current_set(2, tmp_motor[2]); //set E back to normal operation currents
else st_current_set(2, tmp_motor_loud[2]); else st_current_set(2, tmp_motor_loud[2]);
#endif //TMC2130 #endif //TMC2130