diff --git a/Firmware/ultralcd.cpp b/Firmware/ultralcd.cpp index 4ab147f2..3a7d521b 100644 --- a/Firmware/ultralcd.cpp +++ b/Firmware/ultralcd.cpp @@ -168,7 +168,6 @@ uint8_t farm_mode = 0; int farm_no = 0; int farm_timer = 8; int farm_status = 0; -unsigned long allert_timer = millis(); bool printer_connected = true; unsigned long display_time; //just timer for showing pid finished message on lcd; @@ -5029,20 +5028,6 @@ static void lcd_disable_farm_mode() { } -static void lcd_ping_allert() { - if ((abs(millis() - allert_timer)*0.001) > PING_ALLERT_PERIOD) { - allert_timer = millis(); - SET_OUTPUT(BEEPER); - for (int i = 0; i < 2; i++) { - WRITE(BEEPER, HIGH); - delay(50); - WRITE(BEEPER, LOW); - delay(100); - } - } - -}; - #ifdef SNMM @@ -7630,7 +7615,6 @@ void lcd_ping() { //chceck if printer is connected to monitoring when in farm mo //if there are comamnds in buffer, some long gcodes can delay execution of ping command //therefore longer period is used printer_connected = false; - //lcd_ping_allert(); //acustic signals } else { lcd_printer_connected(); diff --git a/Firmware/ultralcd.h b/Firmware/ultralcd.h index 740dd738..7019d457 100644 --- a/Firmware/ultralcd.h +++ b/Firmware/ultralcd.h @@ -263,7 +263,6 @@ static float count_e(float layer_heigth, float extrusion_width, float extrusion_ static void lcd_babystep_z(); void stack_error(); -static void lcd_ping_allert(); void lcd_printer_connected(); void lcd_ping();