From 7c5f74833f6163f358d494342f37cd48910df0e3 Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Sun, 5 Jun 2011 09:59:14 +0000 Subject: [PATCH] no hci_dump_set_max_packets ofr EMBEDDED --- src/hci_dump.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hci_dump.c b/src/hci_dump.c index 00eac302f..4ddf4240d 100644 --- a/src/hci_dump.c +++ b/src/hci_dump.c @@ -44,6 +44,7 @@ #include "hci_dump.h" #include "hci.h" #include "hci_transport.h" +#include "../config.h" #ifndef EMBEDDED #include // open @@ -97,9 +98,11 @@ void hci_dump_open(char *filename, hci_dump_format_t format){ #endif } +#ifndef EMBEDDED void hci_dump_set_max_packets(int packets){ max_nr_packets = packets; } +#endif void hci_dump_packet(uint8_t packet_type, uint8_t in, uint8_t *packet, uint16_t len) { #ifndef EMBEDDED