Vladimir N. Shilov пре 3 година
родитељ
комит
f2f1a95e3c
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      Src/main.c

+ 2 - 2
Src/main.c

@@ -1139,7 +1139,7 @@ static void MX_GPIO_Init(void)
   /**/
   /**/
   GPIO_InitStruct.Pin = BTN3_Pin;
   GPIO_InitStruct.Pin = BTN3_Pin;
   GPIO_InitStruct.Mode = LL_GPIO_MODE_INPUT;
   GPIO_InitStruct.Mode = LL_GPIO_MODE_INPUT;
-  GPIO_InitStruct.Pull = LL_GPIO_PULL_NO;
+  GPIO_InitStruct.Pull = LL_GPIO_PULL_UP;
   LL_GPIO_Init(BTN3_GPIO_Port, &GPIO_InitStruct);
   LL_GPIO_Init(BTN3_GPIO_Port, &GPIO_InitStruct);
 
 
   /* EXTI interrupt init*/
   /* EXTI interrupt init*/
@@ -1154,7 +1154,7 @@ static void MX_GPIO_Init(void)
  *************************/
  *************************/
 
 
 /**
 /**
-  * @brief  Out digits ti SPI buffer. ON/off tube power.
+  * @brief  Out digits to SPI buffer. ON/off tube power.
   * @param  : array with four BCD digits
   * @param  : array with four BCD digits
   * @retval : None
   * @retval : None
   */
   */