Skip to content

Commit 98b26cb

Browse files
authored
Hydrotwin SENS_IND Columns Updated For Correctness (#330)
1 parent d05badd commit 98b26cb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/apps/bridge/sensor_drivers/borealisSensor.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -369,10 +369,10 @@ BmErr BorealisSensor::hydrotwinSendSpotterLog(const uint8_t *data, uint16_t data
369369
} else if (type == HYDROTWIN_HDR) {
370370
static constexpr uint8_t hydrotwin_message_version = 1;
371371
SensorHeaderMsg::Data header = {
372-
hydrotwin_message_version,
373-
uptimeGetMs(),
374-
rtcGetMicrosecondsSimple(),
375-
rtcGetMicrosecondsSimple(),
372+
.version = hydrotwin_message_version,
373+
.reading_time_utc_ms = rtcGetMicrosecondsSimple() / 1000,
374+
.reading_uptime_millis = uptimeGetMs(),
375+
.sensor_reading_time_ms = rtcGetMicrosecondsSimple() / 1000,
376376
};
377377
err = send_spotter_log_individual(
378378
"hydrotwin", header,

0 commit comments

Comments
 (0)