修改Topic信息

Signed-off-by: yaoruozi1@huawei.com <yaoruozi1@huawei.com>
This commit is contained in:
yaoruozi1@huawei.com 2023-11-03 14:18:56 +08:00
parent d432993089
commit 3e9ec9bad4
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ enum class DHTopic : uint32_t {
// publish low latency message
TOPIC_LOW_LATENCY = 5,
// Topic car cabin is ready
TOPIC_CAR_CARBIN_READY = 6,
TOPIC_CAR_CABIN_READY = 6,
// Topic max border, not use for real topic
TOPIC_MAX = 7
};

View File

@ -25,7 +25,7 @@ Publisher::Publisher() : publisherItems_({
{ DHTopic::TOPIC_STOP_DSCREEN, std::make_shared<PublisherItem>(DHTopic::TOPIC_STOP_DSCREEN) },
{ DHTopic::TOPIC_DEV_OFFLINE, std::make_shared<PublisherItem>(DHTopic::TOPIC_DEV_OFFLINE) },
{ DHTopic::TOPIC_LOW_LATENCY, std::make_shared<PublisherItem>(DHTopic::TOPIC_LOW_LATENCY) },
{ DHTopic::TOPIC_CAR_CARBIN_READY, std::make_shared<PublisherItem>(DHTopic::TOPIC_CAR_CARBIN_READY) },
{ DHTopic::TOPIC_CAR_CABIN_READY, std::make_shared<PublisherItem>(DHTopic::TOPIC_CAR_CABIN_READY) },
})
{
}