Add / correct comments

This commit is contained in:
Scott Lahteine
2020-03-01 21:08:01 -06:00
parent 3db784f3c7
commit 20f93404a7
3 changed files with 6 additions and 2 deletions

View File

@ -361,6 +361,10 @@ inline void process_stream_char(const char c, uint8_t &sis, char (&buff)[MAX_CMD
sis = PS_EOL; // Skip the rest on overflow
}
/**
* Handle a line being completed. For an empty line
* keep sensor readings going and watchdog alive.
*/
inline bool process_line_done(uint8_t &sis, char (&buff)[MAX_CMD_SIZE], int &ind) {
sis = PS_NORMAL;
buff[ind] = 0;

View File

@ -22,7 +22,7 @@
#pragma once
/**
* GT3560 RevB + GT2560 V3.0 + GT2560 V3.1 + GT2560 V4.0 pin assignment
* GT2560 RevB + GT2560 V3.0 + GT2560 V3.1 + GT2560 V4.0 pin assignment
*/
#if !defined(__AVR_ATmega1280__) && !defined(__AVR_ATmega2560__)