Add a watchdog for a crashed host.

This commit is contained in:
Jonathan Naylor 2016-02-02 20:23:37 +00:00
parent 62df65003b
commit c468842e46
3 changed files with 26 additions and 1 deletions

View file

@ -98,6 +98,8 @@ void CSerialPort::sendNAK(uint8_t err) const
void CSerialPort::getStatus() const
{
io.resetWatchdog();
uint8_t reply[11U];
// Send all sorts of interesting internal values