update constants, SLAVE_POWER_1 behavior
This commit is contained in:
		@ -47,7 +47,7 @@ void slaves_init() {
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  HAL_GPIO_WritePin(SLAVE_POWER_0_GPIO_Port, SLAVE_POWER_0_Pin, GPIO_PIN_SET);
 | 
			
		||||
  HAL_GPIO_WritePin(SLAVE_POWER_1_GPIO_Port, SLAVE_POWER_1_Pin, GPIO_PIN_RESET);
 | 
			
		||||
  HAL_GPIO_WritePin(SLAVE_POWER_1_GPIO_Port, SLAVE_POWER_1_Pin, GPIO_PIN_SET);
 | 
			
		||||
  HAL_GPIO_WritePin(SLAVE_POWER_DSEL_GPIO_Port, SLAVE_POWER_DSEL_Pin,
 | 
			
		||||
                    GPIO_PIN_RESET);
 | 
			
		||||
  // TODO: Enable & read out current
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user