notify user if device not tested yet

This commit is contained in:
Olaf Rempel 2016-05-16 12:50:43 +02:00
parent f0245a4402
commit b3bb5e029c
1 changed files with 8 additions and 0 deletions

View File

@ -904,6 +904,14 @@ static void reset_statemachine(uint8_t event)
*dst++ = _hexnibble(device.sig[2]);
}
if (device.flags & POLL_UNTESTED) {
src = (uint8_t *)" untested";
while (*src != '\0') {
*dst++ = *src++;
}
}
*dst++ = ' ';
*dst++ = '\0';