diff options
author | Hannes Ellinger <hannes.ellinger@eas.iis.fraunhofer.de> | 2016-07-18 13:53:21 +0200 |
---|---|---|
committer | Hannes Ellinger <hannes.ellinger@eas.iis.fraunhofer.de> | 2016-07-21 10:08:21 +0200 |
commit | d3af91a0ca16858a6177de2e332d7e5d0af7f875 (patch) | |
tree | 58083c8218bcbae42ddd5e539e6b6220b0c76e4c /host/libubertooth | |
parent | a4cf5620acc7f151d10a2f3d5ab0a52ae16570ff (diff) |
increase fifo size to 64 MByte in order to avoid buffer overflows on most machines
Diffstat (limited to 'host/libubertooth')
-rw-r--r-- | host/libubertooth/src/ubertooth_fifo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/host/libubertooth/src/ubertooth_fifo.h b/host/libubertooth/src/ubertooth_fifo.h index 792e37a..87aa485 100644 --- a/host/libubertooth/src/ubertooth_fifo.h +++ b/host/libubertooth/src/ubertooth_fifo.h @@ -24,7 +24,8 @@ #include "ubertooth_control.h" -#define FIFO_SIZE 100 +// set fifo size to 1000000 elements or 64 MByte +#define FIFO_SIZE 1000000 typedef struct { usb_pkt_rx packets[FIFO_SIZE]; |