Commit 2c343717 authored by schneider's avatar schneider
Browse files

fix(max30001): Remove some old bhi stuff

parent 1f89a75f
......@@ -32,10 +32,10 @@ static const gpio_cfg_t analog_switch = {
/* clang-format on */
/* BHI160 Task ID */
/* MAX30001 Task ID */
static TaskHandle_t max30001_task_id = NULL;
/* BHI160 Mutex */
/* MAX30001 Mutex */
static StaticSemaphore_t max30001_mutex_data;
static SemaphoreHandle_t max30001_mutex = NULL;
......@@ -383,7 +383,7 @@ void vMAX30001Task(void *pvParameters)
/* Take Mutex during initialization, just in case */
if (xSemaphoreTake(max30001_mutex, 0) != pdTRUE) {
LOG_CRIT("max30001", "Failed to acquire BHI160 mutex!");
LOG_CRIT("max30001", "Failed to acquire MAX30001 mutex!");
vTaskDelay(portMAX_DELAY);
}
......
......@@ -90,7 +90,6 @@ void disp_forcelock();
#define BHI160_MUTEX_WAIT_MS 50
void vBhi160Task(void *pvParameters);
#define MAX30001_FIFO_SIZE 128
#define MAX30001_MUTEX_WAIT_MS 50
void vMAX30001Task(void *pvParameters);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment