chore(avs-api): Move psmap terminator to enum

This commit is contained in:
icex2
2024-01-29 22:02:14 +01:00
parent 201d3d26d8
commit 4ac0ac50ca
+2 -1
View File
@@ -87,6 +87,7 @@ enum psmap_type {
PSMAP_TYPE_STR = 10,
PSMAP_TYPE_ATTR = 45,
PSMAP_TYPE_BOOL = 50,
PSMAP_TYPE_TERMINATOR = 0xFF,
};
#define PSMAP_FLAG_HAVE_DEFAULT 0x01
@@ -123,7 +124,7 @@ struct property_psmap {
#define PSMAP_END \
{ \
0xFF, 0, 0, 0, NULL, 0 \
PSMAP_TYPE_TERMINATOR, 0, 0, 0, NULL, 0 \
} \
} \
;