1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 10:24:26 +01:00
This commit is contained in:
Ralf Ramsauer 2015-09-17 14:43:36 +02:00
parent 2a6ea56e74
commit ad77fbe86b

View File

@ -169,7 +169,7 @@ bool Door::writeCMD(char c)
if (readByte(response, Milliseconds(100))) if (readByte(response, Milliseconds(100)))
{ {
if (c != response) { if (c != response) {
_logger(LogLevel::error, "Sent command '%c' but gor response '%c'", c, response); _logger(LogLevel::error, "Sent command '%c' but got response '%c'", c, response);
return false; return false;
} }
return true; return true;