Files
@ f2c57ce0cd7b
Branch filter:
Location: windsonde/Include/burn.h - annotation
f2c57ce0cd7b
394 B
text/plain
Refactor old pressure code and make optional. Fix high power output due to multiple Si446x power definitions
0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 0f04af7169be 2ee6c8e67f32 2ee6c8e67f32 | #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
|