mirror of
https://gitee.com/openharmony/castengine_cast_framework
synced 2024-11-27 00:21:04 +00:00
update common/include/private/radar_constants.h.
还原删掉的宏定义 Signed-off-by: LongestDistance <cdwango@isoftstone.com>
This commit is contained in:
parent
4cdc65a372
commit
ca954542fb
@ -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,
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user