Fix some other SERIAL_ECHO

parent b1fb1c6a
......@@ -178,7 +178,7 @@ void laser_wait_for_peripherals() {
while(!laser_peripherals_ok()) {
if (millis() > timeout) {
if (laser.diagnostics) {
ECHO_LM(ERR, "Peripheral control board failed to respond");
ECHO_LM(ER, "Peripheral control board failed to respond");
}
Stop();
break;
......
......@@ -889,8 +889,7 @@ float junction_deviation = 0.1;
if (laser.diagnostics) {
if (block->laser_status == LASER_ON) {
SERIAL_ECHO_START;
SERIAL_ECHOLNPGM("Laser firing enabled");
ECHO_LM(INFO, "Laser firing enabled");
}
}
#endif // LASER
......
......@@ -655,7 +655,7 @@ ISR(TIMER1_COMPA_vect) {
#if ENABLED(LASER)
if (laser.dur != 0 && (laser.last_firing + laser.dur < micros())) {
if (laser.diagnostics) SERIAL_ECHOLN("Laser firing duration elapsed, in interrupt handler");
if (laser.diagnostics) ECHO_LM(INFO,"Laser firing duration elapsed, in interrupt handler");
laser_extinguish();
#endif
......@@ -717,7 +717,7 @@ ISR(TIMER1_COMPA_vect) {
laser_fire(current_block->laser_intensity);
}
if (current_block->laser_status == LASER_OFF) {
if (laser.diagnostics) SERIAL_ECHOLN("Laser status set to off, in interrupt handler");
if (laser.diagnostics) ECHO_LM(INFO,"Laser status set to off, in interrupt handler");
laser_extinguish();
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment