checksumming responses

simple sum of characters since last newline (mod 256) inserted before each newline.
Yes. (it works now b/c globals are automatically 0, but yes.)
On Sep 22, 2014 7:26 AM, "Zachary Salzbank" <notifications@github.com>
wrote:

> In serial.c:
>
> > @@ -37,6 +37,8 @@ uint8_t tx_buffer[TX_BUFFER_SIZE];
> >  uint8_t tx_buffer_head = 0;
> >  volatile uint8_t tx_buffer_tail = 0;
> >
> > +uint8_t checksum;  //sum all bytes between newlines.
>
> Need to initialize?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/keyme/grbl/pull/8/files#r17843467>.
>