1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00
freebsd-ports/misc/amfm/files/patch-amfm.c
2009-07-15 15:01:15 +00:00

20 lines
622 B
C

--- ./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;