Files @ 645e46f4898d
Branch filter:

Location: windsonde/Include/error.h

ethanzonca
Update scale for bme280 to tenths of percent, disable lps25h
#ifndef ERROR_H
#define ERROR_H
#include "stm32f0xx_hal.h"

// Each error message has an enum entry
// If adding errors, remember to define a message for each in error.c
enum error_number
{
	ERR_GPS_OFF = 0,
	ERR_GPS_CHECKSUM,
};


void error_assert(uint8_t errno);
void error_assert_info(uint8_t errno, char* details);
uint8_t error_check(uint8_t errno);
uint8_t error_occurred(void);
uint8_t error_count(void);

#endif

// vim:softtabstop=4 shiftwidth=4 expandtab