projects
/
trinked.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
063a6f7
)
improve comments
author
Teodor Sigaev
<teodor@sigaev.ru>
Mon, 4 Apr 2016 07:34:07 +0000
(10:34 +0300)
committer
Teodor Sigaev
<teodor@sigaev.ru>
Mon, 4 Apr 2016 07:34:07 +0000
(10:34 +0300)
trinket.c
patch
|
blob
|
history
diff --git
a/trinket.c
b/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 },