summaryrefslogtreecommitdiffstats
path: root/src/uca.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uca.h')
-rw-r--r--src/uca.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uca.h b/src/uca.h
index 936863b..ac28183 100644
--- a/src/uca.h
+++ b/src/uca.h
@@ -231,7 +231,7 @@ extern const char *uca_unit_map[]; /**< maps unit numbers to corresponding
#define UCA_NO_ERROR 0x00000000
-#define UCA_ERR_MASK_CODE 0x0000FFFF
+#define UCA_ERR_MASK_CODE 0xF000FFFF
#define UCA_ERR_MASK_SOURCE 0x000F0000
#define UCA_ERR_MASK_TYPE 0x00F00000
#define UCA_ERR_MASK_RESRV 0x0F000000