rename heart variables and function
This commit is contained in:
@@ -59,8 +59,8 @@ static void heart_rate_task(void *param) {
|
||||
/* Loop forever */
|
||||
while (1) {
|
||||
/* Update heart rate value every 1 second */
|
||||
update_heart_rate();
|
||||
ESP_LOGI(TAG, "heart rate updated to %d", get_heart_rate());
|
||||
update_temp();
|
||||
ESP_LOGI(TAG, "heart rate updated to %d", get_temp());
|
||||
|
||||
/* Send heart rate indication if enabled */
|
||||
send_heart_rate_indication();
|
||||
|
||||
Reference in New Issue
Block a user