timschmidt/repsnapper — Issue #54: Unknown temp reading messages
Author: hurzl
Created: 2011-11-25 10:25:27+00:00
State: open

Ultimaker Marlin emits "raw" temperature values, like
ok T:30.00, raw:55 B:24.00

libreprap stops on the "raw" with error message, not continuing to read the bed temperature.

patch to ignore unknown keywords:

------------------------- libraries/libreprap/fived.c -------------------------
index 86adbaf..edcf937 100644
@@ -45,9 +45,10 @@ fived_handle_reply (rr_dev dev, const char *reply, size_t nbytes)
case 'E':
float_reply (dev, &i, RR_E_POS);
break;
default:
-	return rr_dev_emit_error (dev, RR_E_UNKNOWN_REPLY, reply, nbytes);
+	// return rr_dev_emit_error (dev, RR_E_UNKNOWN_REPLY, reply, nbytes);
+	break;
}
}
return 0;