浏览代码

Remove st_current_init() call from lcd_temp_calibration_set().

There is no known purpose of this call.
lcd_temp_calibration_set() is switching on/off pinda temperature compensation from LCD settings menu (this is called "Temp. cal." on LCD).
st_current_init() does nothing on Einsy board, it enables and sets motor current selecting outputs on Rambo board (it used to be called digipot in history)
Marek Bel 3 年之前
父节点
当前提交
fca4015667
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      Firmware/ultralcd.cpp

+ 0 - 1
Firmware/ultralcd.cpp

@@ -4637,7 +4637,6 @@ void lcd_pinda_calibration_menu()
 void lcd_temp_calibration_set() {
 	temp_cal_active = !temp_cal_active;
 	eeprom_update_byte((unsigned char *)EEPROM_TEMP_CAL_ACTIVE, temp_cal_active);
-	st_current_init();
 }
 
 #ifdef HAS_SECOND_SERIAL_PORT