Ignore:
Timestamp:
Nov 3, 2026, 2:39:08 PM (28 hours ago)
Author:
Zed
Message:

Nicht verwendete Variablen und Dateien wurden aus dem Projekt entfernt.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/firmware_v4/SES/src/mode_secondaryprotection.c

    r42 r43  
    5959{
    6060  int faultInput;
    61   int lvpAndOvpInput;
     61  //int lvpAndOvpInput;
    6262
    6363  if (HAL_GPIO_ReadPin(GPIO_INPUT_FAULT_GPIO_Port, GPIO_INPUT_FAULT_Pin) == GPIO_PIN_RESET)       
    … …  
    7272  if ((HAL_GPIO_ReadPin(GPIO_INPUT_LVP_GPIO_Port, GPIO_INPUT_LVP_Pin) == GPIO_PIN_SET) &&  (HAL_GPIO_ReadPin(GPIO_INPUT_OVP_GPIO_Port, GPIO_INPUT_OVP_Pin) == GPIO_PIN_SET))
    7373  {
    74     lvpAndOvpInput = 1;
     74    //lvpAndOvpInput = 1;
    7575  }else {
    76     lvpAndOvpInput = 0;
     76    //lvpAndOvpInput = 0;
    7777  }
    7878
    … …  
    130130static void SECONDARYPROTECTION_SM_On(void)
    131131{
    132   int faultInput = 0;
     132  //int faultInput = 0;
    133133  int lvpAndOvpInput = 0;
    134134  static int lvpAndOvpInputTimeCounter = 0;
    … …  
    137137  if (HAL_GPIO_ReadPin(GPIO_INPUT_FAULT_GPIO_Port, GPIO_INPUT_FAULT_Pin) == GPIO_PIN_RESET)       
    138138  {   
    139           faultInput = 1;
     139          //faultInput = 1;
    140140          RELAIS_ResetPuls();
    141141      BUZZER_Beep(BUZZER_ON_TIME_REJECT); //Warnung
    … …  
    153153  else
    154154  {
    155     faultInput = 0;
     155    //faultInput = 0;
    156156  }
    157157 
    … …  
    294294{
    295295  int faultInput;
    296   int lvpAndOvpInput;
     296  //int lvpAndOvpInput;
    297297  static uint32_t retry_counter = 0;
    298298  static uint32_t oldTimeMSTick;
Note: See TracChangeset for help on using the changeset viewer.