Commit c92588c9 authored by Mikhail Karpenko's avatar Mikhail Karpenko

Frame alignment tests look fine

parent e41643e0
This diff is collapsed.
...@@ -41,13 +41,11 @@ ...@@ -41,13 +41,11 @@
* trailing marker, and pointer to a buffer containing the remainder of a * trailing marker, and pointer to a buffer containing the remainder of a
* frame. Ten chunks of data in total. * frame. Ten chunks of data in total.
* @todo Fix description */ * @todo Fix description */
#define MAX_DATA_CHUNKS 10 #define MAX_DATA_CHUNKS 9
/** Default port number */ /** Default port number */
#define DEFAULT_PORT_NUM 0 #define DEFAULT_PORT_NUM 0
/** Align buffers length to this amount of bytes */ /** Align buffers length to this amount of bytes */
#define ALIGNMENT_SIZE 32 #define ALIGNMENT_SIZE 32
/** Address alignment boundary */
#define ALIGNMENT_ADDR 2
/** This structure holds raw device buffer pointers */ /** This structure holds raw device buffer pointers */
struct drv_pointers { struct drv_pointers {
...@@ -88,10 +86,9 @@ enum { ...@@ -88,10 +86,9 @@ enum {
CHUNK_HEADER, CHUNK_HEADER,
CHUNK_COMMON, CHUNK_COMMON,
CHUNK_DATA_0, CHUNK_DATA_0,
CHUNK_ALIGN_0,
CHUNK_DATA_1, CHUNK_DATA_1,
CHUNK_ALIGN_1,
CHUNK_TRAILER, CHUNK_TRAILER,
CHUNK_ALIGN,
CHUNK_REM CHUNK_REM
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment