summaryrefslogtreecommitdiff
path: root/misc/amfm/files/patch-amfm.c
blob: 75483ad5bd8f5db34a257f09240e87a03fd459c1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- ./amfm.c.orig	2009-06-28 13:47:21.000000000 +0900
+++ ./amfm.c	2009-06-28 14:24:15.000000000 +0900
@@ -12,6 +12,7 @@
 
 #include <stdio.h>
 #include <string.h>
+#include <stdlib.h>
 #include <unistd.h>
 #include <hid.h>
 
@@ -28,7 +29,7 @@
   HIDInterface* hid;
   HIDInterfaceMatcher matcher = { RADIO_VENDID, RADIO_DEVID, NULL, NULL, 0 };
 
-  unsigned char PACKET[SEND_PACKET_LENGTH] = { 0x28, 0xe2, 0x06, 0x03, 0x29, 0x52, 0x00, 0x10 };
+  unsigned char PACKET[SEND_PACKET_LENGTH] = { 0x28, 0xe2, 0x06, 0x03, 0x29, 0xd2, 0x00, 0x10 };
   unsigned char ZERO[0];
   unsigned short encodedFreq;
   unsigned int freq;