From 78ebd522b60f818383e5ad63500c1ad8fc9e6160 Mon Sep 17 00:00:00 2001 From: bubnikv Date: Thu, 23 Jun 2016 08:46:15 +0200 Subject: Removed support for DELTA, SCARA and BARICUDA. Implemented bed skew calibration by matching a precise physical model to the measured data using the least squares method. Rewrote handling of the command buffer to preserve memory and allow pushing the commands to the front of the queue. --- Firmware/MarlinSerial.cpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'Firmware/MarlinSerial.cpp') diff --git a/Firmware/MarlinSerial.cpp b/Firmware/MarlinSerial.cpp index e4e737433..fba87cc86 100644 --- a/Firmware/MarlinSerial.cpp +++ b/Firmware/MarlinSerial.cpp @@ -53,8 +53,16 @@ FORCE_INLINE void store_char(unsigned char c) //SIGNAL(SIG_USART_RECV) SIGNAL(M_USARTx_RX_vect) { - unsigned char c = M_UDRx; - store_char(c); + // Test for a framing error. + if (M_UCSRxA & (1<