projects
/
libam7xxx.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
am7xxx-modeswitch: fix the Length field in the switch command
[libam7xxx.git]
/
examples
/
am7xxx-modeswitch.c
diff --git
a/examples/am7xxx-modeswitch.c
b/examples/am7xxx-modeswitch.c
index
2764ab2
..
62db796
100644
(file)
--- a/
examples/am7xxx-modeswitch.c
+++ b/
examples/am7xxx-modeswitch.c
@@
-29,7
+29,7
@@
static unsigned char switch_command[] =
"\x55\x53\x42\x43\x08\x70\x52\x89\x00\x00\x00\x00\x00\x00"
static unsigned char switch_command[] =
"\x55\x53\x42\x43\x08\x70\x52\x89\x00\x00\x00\x00\x00\x00"
- "\x
0c
\xff\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00";
+ "\x
10
\xff\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00";
int main(void)
{
int main(void)
{