Skip to content
Closed
Show file tree
Hide file tree
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
13 changes: 13 additions & 0 deletions EpsilonAuxBMS/Inc/SetContactorsTask.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#pragma once
#include "AuxBmsTasks.h"
#include "stm32f4xx_hal.h"
#include "stm32f4xx_hal_adc.h"
#include "OrionStatus.h"

extern ADC_HandleTypeDef hadc1; // main.c

// Task for turning on contactors
// arg: osMutexId* auxStatusMutex
void setContactorsTask(void const* arg);

void disconnectContactors(uint8_t isContactorError);
Loading