changed variables from static to extern for use in other functions
This commit is contained in:
		@ -64,9 +64,9 @@ typedef struct {
 | 
			
		||||
extern StateHandle state;
 | 
			
		||||
static bool relay_closed = 0;
 | 
			
		||||
static bool precharge_closed = 0;
 | 
			
		||||
static int16_t RELAY_BAT_SIDE_VOLTAGE;
 | 
			
		||||
static int16_t RELAY_ESC_SIDE_VOLTAGE;
 | 
			
		||||
static int16_t CURRENT_MEASUREMENT;
 | 
			
		||||
extern int16_t RELAY_BAT_SIDE_VOLTAGE;
 | 
			
		||||
extern int16_t RELAY_ESC_SIDE_VOLTAGE;
 | 
			
		||||
extern int16_t CURRENT_MEASUREMENT;
 | 
			
		||||
 | 
			
		||||
void sm_init();
 | 
			
		||||
void sm_update();
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user