diff options
Diffstat (limited to 'src/pru/internal.h')
-rw-r--r-- | src/pru/internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pru/internal.h b/src/pru/internal.h index 980c1d61..abbc9e40 100644 --- a/src/pru/internal.h +++ b/src/pru/internal.h @@ -3,6 +3,7 @@ // Local definitions for PRU code #include <stdint.h> // uint32_t +#include "command.h" // MESSAGE_MAX #define IEP_EVENT 7 #define KICK_ARM_EVENT 16 @@ -24,7 +25,7 @@ // Layout of shared memory struct shared_response_buffer { uint32_t count; - char data[64]; + char data[MESSAGE_MAX]; }; struct shared_mem { uint32_t signal; |