Commit 12bdaa50 authored by Anders Blomdell's avatar Anders Blomdell
Browse files

Let encoded user indices start from LABCOMM_USER instead of hard-coded 0x40

parent 8b15c31f
......@@ -237,7 +237,7 @@ void *labcomm2006_signature_array_ref(struct labcomm2006_memory *memory,
}
}
static int local_index = 0x40;
static int local_index = LABCOMM_USER;
void labcomm2006_set_local_index(struct labcomm2006_signature *signature)
{
......
......@@ -42,7 +42,7 @@
#define LABCOMM_SAMPLE 0x02
#define LABCOMM_ARRAY 0x10
#define LABCOMM_STRUCT 0x11
#define LABCOMM_USER 0x80 /* ..0xffffffff */
#define LABCOMM_USER 0x40 /* ..0xffffffff */
/*
* Predefined primitive type indices
......
......@@ -236,7 +236,7 @@ void *labcomm_signature_array_ref(struct labcomm_memory *memory,
}
}
static int local_index = 0x40;
static int local_index = LABCOMM_USER;
void labcomm_set_local_index(struct labcomm_signature *signature)
{
......
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