aboutsummaryrefslogtreecommitdiff
path: root/misc/amfm/files/patch-amfm.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc/amfm/files/patch-amfm.c')
-rw-r--r--misc/amfm/files/patch-amfm.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/misc/amfm/files/patch-amfm.c b/misc/amfm/files/patch-amfm.c
new file mode 100644
index 000000000000..75483ad5bd8f
--- /dev/null
+++ b/misc/amfm/files/patch-amfm.c
@@ -0,0 +1,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;