Replace 'const float &' with 'const_float_t' (#21505)
This commit is contained in:
@@ -312,7 +312,7 @@ void GcodeSuite::G34() {
|
||||
ui.set_status(msg);
|
||||
#endif
|
||||
|
||||
auto decreasing_accuracy = [](const float &v1, const float &v2){
|
||||
auto decreasing_accuracy = [](const_float_t v1, const_float_t v2){
|
||||
if (v1 < v2 * 0.7f) {
|
||||
SERIAL_ECHOLNPGM("Decreasing Accuracy Detected.");
|
||||
LCD_MESSAGEPGM(MSG_DECREASING_ACCURACY);
|
||||
|
||||
Reference in New Issue
Block a user