Skip to content

Commit 17ea904

Browse files
authored
Hydrotwin HDR needs to be published on type/version 1/1 to work properly (#31)
with sensor HDR pipeline
1 parent 6bc9524 commit 17ea904

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/net/gateway_ipc.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,8 +373,7 @@ void handle_sensor_data(const CborValue *map) {
373373

374374
bm_log_info("IPC RX sensor_data topic='%s' data_len=%zu", topic, data_len);
375375

376-
BmErr err = bm_pub(topic, data, static_cast<uint16_t>(data_len), 0,
377-
BM_COMMON_PUB_SUB_VERSION);
376+
BmErr err = bm_pub(topic, data, static_cast<uint16_t>(data_len), 1, 1);
378377
if (err != BmOK) {
379378
bm_log_warn("IPC sensor_data: bm_pub(%s) failed, err=%d", topic, err);
380379
}

0 commit comments

Comments
 (0)