From dc0de4715bbad873df3bdf0b7ed5e69930465458 Mon Sep 17 00:00:00 2001 From: Teodor Sigaev Date: Mon, 4 Apr 2016 10:34:07 +0300 Subject: [PATCH] improve comments --- trinket.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 }, -- 2.46.1