Files @ f2c57ce0cd7b
Branch filter:

Location: windsonde/Include/burn.h - annotation

ethanzonca
Refactor old pressure code and make optional. Fix high power output due to multiple Si446x power definitions
#ifndef BURN_H
#define BURN_H
#include "stm32f0xx_hal.h"



// Number of burn outputs
#define NUM_BURNS 3


enum burn
{
	BURN_NONE = 0,
	BURN_1,
	BURN_2,
};


enum burn_status
{
	BURN_IDLE = 0,
	BURN_BURNING,
};


void burn_queue(uint8_t burn_id, uint8_t delaytime, uint8_t resttime);
void burn_process(void);

#endif

// vim:softtabstop=4 shiftwidth=4 expandtab