From: Teodor Sigaev Date: Mon, 4 Apr 2016 07:34:07 +0000 (+0300) Subject: improve comments X-Git-Url: http://sigaev.ru/git/gitweb.cgi?a=commitdiff_plain;h=dc0de4715bbad873df3bdf0b7ed5e69930465458;p=trinked.git improve comments --- diff --git a/trinket.c b/trinket.c index 82822b3..ba5fdb3 100644 --- a/trinket.c +++ b/trinket.c @@ -75,7 +75,8 @@ typedef struct { uint32_t respLen; /* 0 means variable, > 0 fixed */ } TrinketProtoDesc; -static const TrinketProtoDesc protoDesc[] = { +/* hardcoded knowledge from docs/geyger.pdf */ +static const TrinketProtoDesc protoDesc[] = { {CMD_PING, 4, 5 }, {CMD_VCC_VALUE, 4, 8 }, {CMD_VCC_ALARM, 8, 8 },