Browse Source

HAL_Linux: change ring buffer to 300 entries

mission-4.1.18
Andrew Tridgell 10 years ago
parent
commit
9b207d029d
  1. 4
      libraries/AP_HAL_Linux/RCInput_PRU.h

4
libraries/AP_HAL_Linux/RCInput_PRU.h

@ -10,7 +10,9 @@ @@ -10,7 +10,9 @@
#include <AP_HAL_Linux.h>
#define RCIN_PRUSS_SHAREDRAM_BASE 0x4a312000
#define NUM_RING_ENTRIES 200
// we use 300 ring buffer entries to guarantee that a full 25 byte
// frame of 12 bits per byte
#define NUM_RING_ENTRIES 300
class Linux::LinuxRCInput_PRU : public Linux::LinuxRCInput
{

Loading…
Cancel
Save