am7xxx-modeswitch: fix the Length field in the switch command
[libam7xxx.git] / examples / am7xxx-modeswitch.c
index 2764ab2..62db796 100644 (file)
@@ -29,7 +29,7 @@
 
 static unsigned char switch_command[] =
        "\x55\x53\x42\x43\x08\x70\x52\x89\x00\x00\x00\x00\x00\x00"
-       "\x0c\xff\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00";
+       "\x10\xff\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00";
 
 int main(void)
 {