Skip to content

Commit e533a5f

Browse files
committed
nrf_compress: Add user custom ID
Adds an ID which can be used for custom out-of-tree implementation by users Signed-off-by: Jamie McCrae <[email protected]>
1 parent 1df3f00 commit e533a5f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

include/nrf_compress/implementation.h

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,11 @@ enum nrf_compress_types {
122122
/** ARM thumb filter */
123123
NRF_COMPRESS_TYPE_ARM_THUMB,
124124

125-
NRF_COMPRESS_TYPE_COUNT
125+
/** Marks end/count of nRF supported filters */
126+
NRF_COMPRESS_TYPE_COUNT,
127+
128+
/** Start of freely usable IDs with custom out-of-tree implementations */
129+
NRF_COMPRESS_TYPE_USER_CUSTOM_START = 32768
126130
};
127131

128132
struct nrf_compress_implementation {

0 commit comments

Comments
 (0)