Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions subsys/bluetooth/services/ble_hrs/hrs.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ LOG_MODULE_REGISTER(ble_hrs, CONFIG_BLE_HRS_LOG_LEVEL);
/* RR-Interval bit. */
#define HRM_FLAG_MASK_RR_INTERVAL_INCLUDED BIT(4)

static uint8_t hrm_encode(struct ble_hrs *hrs, uint16_t heart_rate, uint8_t *encoded_buffer)
static uint16_t hrm_encode(struct ble_hrs *hrs, uint16_t heart_rate, uint8_t *encoded_buffer)
{
uint8_t flags = 0;
/* Make space for flags. */
uint8_t len = 1;
uint16_t len = 1;
int i;

/* Set sensor contact related flags. */
Expand Down
Loading