no hci_dump_set_max_packets ofr EMBEDDED

This commit is contained in:
matthias.ringwald 2011-06-05 09:59:14 +00:00
parent c7492964e9
commit 7c5f74833f

View File

@ -44,6 +44,7 @@
#include "hci_dump.h" #include "hci_dump.h"
#include "hci.h" #include "hci.h"
#include "hci_transport.h" #include "hci_transport.h"
#include "../config.h"
#ifndef EMBEDDED #ifndef EMBEDDED
#include <fcntl.h> // open #include <fcntl.h> // open
@ -97,9 +98,11 @@ void hci_dump_open(char *filename, hci_dump_format_t format){
#endif #endif
} }
#ifndef EMBEDDED
void hci_dump_set_max_packets(int packets){ void hci_dump_set_max_packets(int packets){
max_nr_packets = packets; max_nr_packets = packets;
} }
#endif
void hci_dump_packet(uint8_t packet_type, uint8_t in, uint8_t *packet, uint16_t len) { void hci_dump_packet(uint8_t packet_type, uint8_t in, uint8_t *packet, uint16_t len) {
#ifndef EMBEDDED #ifndef EMBEDDED