@@ -2136,23 +2136,23 @@ void CrealityDWINClass::Menu_Item_Handler(uint8_t menu, uint8_t item, bool draw/
21362136 case HOTENDPID_KP:
21372137 if (draw) {
21382138 Draw_Menu_Item (row, ICON_Version, F (" Kp Value" ));
2139- Draw_Float (thermalManager.temp_hotend [0 ].pid .Kp , row, false , 100 );
2139+ Draw_Float (thermalManager.temp_hotend [0 ].pid .p () , row, false , 100 );
21402140 }
21412141 else
21422142 Modify_Value (thermalManager.temp_hotend [0 ].pid .Kp , 0 , 5000 , 100 , thermalManager.updatePID );
21432143 break ;
21442144 case HOTENDPID_KI:
21452145 if (draw) {
21462146 Draw_Menu_Item (row, ICON_Version, F (" Ki Value" ));
2147- Draw_Float (unscalePID_i ( thermalManager.temp_hotend [0 ].pid .Ki ), row, false , 100 );
2147+ Draw_Float (thermalManager.temp_hotend [0 ].pid .i ( ), row, false , 100 );
21482148 }
21492149 else
21502150 Modify_Value (thermalManager.temp_hotend [0 ].pid .Ki , 0 , 5000 , 100 , thermalManager.updatePID );
21512151 break ;
21522152 case HOTENDPID_KD:
21532153 if (draw) {
21542154 Draw_Menu_Item (row, ICON_Version, F (" Kd Value" ));
2155- Draw_Float (unscalePID_d ( thermalManager.temp_hotend [0 ].pid .Kd ), row, false , 100 );
2155+ Draw_Float (thermalManager.temp_hotend [0 ].pid .d ( ), row, false , 100 );
21562156 }
21572157 else
21582158 Modify_Value (thermalManager.temp_hotend [0 ].pid .Kd , 0 , 5000 , 100 , thermalManager.updatePID );
@@ -2203,7 +2203,7 @@ void CrealityDWINClass::Menu_Item_Handler(uint8_t menu, uint8_t item, bool draw/
22032203 case BEDPID_KP:
22042204 if (draw) {
22052205 Draw_Menu_Item (row, ICON_Version, F (" Kp Value" ));
2206- Draw_Float (thermalManager.temp_bed .pid .Kp , row, false , 100 );
2206+ Draw_Float (thermalManager.temp_bed .pid .p () , row, false , 100 );
22072207 }
22082208 else {
22092209 Modify_Value (thermalManager.temp_bed .pid .Kp , 0 , 5000 , 100 , thermalManager.updatePID );
@@ -2212,15 +2212,15 @@ void CrealityDWINClass::Menu_Item_Handler(uint8_t menu, uint8_t item, bool draw/
22122212 case BEDPID_KI:
22132213 if (draw) {
22142214 Draw_Menu_Item (row, ICON_Version, F (" Ki Value" ));
2215- Draw_Float (unscalePID_i ( thermalManager.temp_bed .pid .Ki ), row, false , 100 );
2215+ Draw_Float (thermalManager.temp_bed .pid .i ( ), row, false , 100 );
22162216 }
22172217 else
22182218 Modify_Value (thermalManager.temp_bed .pid .Ki , 0 , 5000 , 100 , thermalManager.updatePID );
22192219 break ;
22202220 case BEDPID_KD:
22212221 if (draw) {
22222222 Draw_Menu_Item (row, ICON_Version, F (" Kd Value" ));
2223- Draw_Float (unscalePID_d ( thermalManager.temp_bed .pid .Kd ), row, false , 100 );
2223+ Draw_Float (thermalManager.temp_bed .pid .d ( ), row, false , 100 );
22242224 }
22252225 else
22262226 Modify_Value (thermalManager.temp_bed .pid .Kd , 0 , 5000 , 100 , thermalManager.updatePID );
0 commit comments