AnHardt cb88fdd242 Protect MarlinSerial against interrupts
Protect MarlinSerial against interrupts
by shielding the CRITICAL_SECTIONs

Now with a test if RX_BUFFER_SIZE is in the required range.
Code in peek() and read() is now optimized for readability and showing the similarity between the two.

Maybe a bit overprotected in checkRx() and store_char(), but now some days without detected errors from this source.
2016-02-24 17:18:12 +01:00
..
2015-11-13 07:13:48 -06:00
2015-08-16 06:56:47 -05:00
2015-11-12 00:03:21 -06:00
2015-09-30 14:46:01 -05:00
2015-11-12 00:00:51 -06:00
2015-12-10 06:31:41 -06:00
2015-09-12 07:48:27 -05:00
2015-07-22 18:16:05 -05:00
2015-11-13 07:13:48 -06:00
2015-07-31 17:13:53 -05:00
2015-08-02 22:09:08 -05:00
2015-09-10 10:54:03 -05:00
2015-12-10 07:24:37 -06:00
2015-11-12 00:03:22 -06:00
2015-11-12 00:03:21 -06:00
2015-11-12 00:03:21 -06:00
2016-01-15 16:50:43 +01:00
2015-11-12 00:03:21 -06:00
2015-11-12 00:03:22 -06:00
2015-11-12 00:03:22 -06:00