updated some values in TMP1075
This commit is contained in:
parent
16824744e7
commit
2dfb9c4cac
@ -2,13 +2,15 @@
|
||||
#define INC_TMP1075_H_
|
||||
|
||||
#include "can.h"
|
||||
#include "common_defs.h"
|
||||
#include "stm32f3xx_hal.h"
|
||||
#include "TMP1075.h"
|
||||
#include "can-halal.h"
|
||||
#include "errors.h"
|
||||
#include <stdint.h>
|
||||
|
||||
#define N_CELLS 13
|
||||
#define N_TEMP_SENSORS 13
|
||||
|
||||
extern uint32_t tmp1075_failed_sensors;
|
||||
extern int16_t tmp1075_temps[N_TEMP_SENSORS];
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#include "TMP1075.h"
|
||||
|
||||
#define MAX_TEMP ((int16_t)(59 / 0.0625f))
|
||||
#define MAX_FAILED_TEMP 12 //TODO: change value for compliance with the actual number of sensors
|
||||
#define MAX_FAILED_TEMP 2 //TODO: change value for compliance with the actual number of sensors
|
||||
#warning "change value for compliance with the actual number of sensors"
|
||||
|
||||
int16_t tmp1075_temps[N_TEMP_SENSORS] = {0};
|
||||
|
Loading…
x
Reference in New Issue
Block a user