init commit from esp-idf ble example

This commit is contained in:
2025-12-01 00:42:14 +01:00
parent cfcfb6fe37
commit 4116ef780e
17 changed files with 949 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
/* Includes */
#include "common.h"
#include "heart_rate.h"
/* Private variables */
static uint8_t heart_rate;
/* Public functions */
uint8_t get_heart_rate(void) { return heart_rate; }
void update_heart_rate(void) { heart_rate = 60 + (uint8_t)(esp_random() % 21); }