Check number of broken temperature sensors
This commit is contained in:
		@ -13,5 +13,6 @@
 | 
			
		||||
#define SlavesTimeoutError 1
 | 
			
		||||
#define SlavesErrorFrameError 2
 | 
			
		||||
#define SLAVES_FRAME_TIMEOUT_ERROR 3
 | 
			
		||||
#define SLAVES_TOO_FEW_TEMPS 4
 | 
			
		||||
 | 
			
		||||
#endif /* INC_AMS_ERRORCODES_H_ */
 | 
			
		||||
 | 
			
		||||
@ -20,6 +20,8 @@
 | 
			
		||||
 | 
			
		||||
#define SLAVETIMEOUT 500
 | 
			
		||||
#define SLAVE_HEARTBEAT_FRAMES 11
 | 
			
		||||
// 30% * 90 = 27, each sensor measures 2 cells
 | 
			
		||||
#define SLAVE_MIN_TEMP_SENSORS 14
 | 
			
		||||
 | 
			
		||||
typedef struct {
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user