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;
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;