improve comments
authorTeodor Sigaev <teodor@sigaev.ru>
Mon, 4 Apr 2016 07:34:07 +0000 (10:34 +0300)
committerTeodor Sigaev <teodor@sigaev.ru>
Mon, 4 Apr 2016 07:34:07 +0000 (10:34 +0300)
trinket.c

index 82822b3..ba5fdb3 100644 (file)
--- 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                               },