Add endurance power limit
This commit is contained in:
		@ -11,7 +11,7 @@ extern "C" {
 | 
			
		||||
#include "util.h"
 | 
			
		||||
 | 
			
		||||
CountedEnum(ParamType, size_t, PF_BBAL, PF_SLIPREF, PF_MUMAX, PF_ASRP, PF_ASRON,
 | 
			
		||||
            PF_ASRI);
 | 
			
		||||
            PF_ASRI, PF_PLIM);
 | 
			
		||||
 | 
			
		||||
typedef struct {
 | 
			
		||||
  float bbal;
 | 
			
		||||
@ -20,6 +20,7 @@ typedef struct {
 | 
			
		||||
  unsigned asrp;
 | 
			
		||||
  unsigned asri;
 | 
			
		||||
  unsigned asron;
 | 
			
		||||
  unsigned plim;
 | 
			
		||||
} Params;
 | 
			
		||||
 | 
			
		||||
extern Params params;
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user