update common/include/private/radar_constants.h.

还原删掉的宏定义

Signed-off-by: LongestDistance <cdwango@isoftstone.com>
This commit is contained in:
LongestDistance 2024-11-14 10:25:04 +00:00 committed by Gitee
parent 4cdc65a372
commit ca954542fb
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -142,6 +142,9 @@ static constexpr uint32_t MASK_ERROR_CODE = 0xffff;
static constexpr uint8_t OFFSET_MODULE_ID = 16;
static constexpr uint8_t OFFSET_SUBSYSTEM = 21;
#define CAST_ENGINE_ERR_CODE(moduleID) \
((SUBSYSTEM_CAST_ENGINE << OFFSET_SUBSYSTEM) | (static_cast<uint32_t>(moduleID) << OFFSET_MODULE_ID))
enum RadarErrCode : int32_t {
SUCCESS = 0,