Added G-CODE "PRUSA FAN" to report RPM of both fans

This commit is contained in:
michalprusa 2017-11-03 20:27:52 +01:00
parent d2c5f469f0
commit 967594edf0

View File

@ -1779,6 +1779,14 @@ void process_commands()
else if (code_seen("PRN")) {
MYSERIAL.println(status_number);
}else if (code_seen("FAN")) {
MYSERIAL.print("E0:");
MYSERIAL.print(60*fan_speed[0]);
MYSERIAL.println(" RPM");
MYSERIAL.print("PRN0:");
MYSERIAL.print(60*fan_speed[1]);
MYSERIAL.println(" RPM");
}else if (code_seen("fn")) {
if (farm_mode) {
MYSERIAL.println(farm_no);