Browse Source

Delete unnided code.

Vladimir N. Shilov 3 years ago
parent
commit
73c761f606
1 changed files with 0 additions and 5 deletions
  1. 0 5
      Src/stm32g0xx_it.c

+ 0 - 5
Src/stm32g0xx_it.c

@@ -287,11 +287,6 @@ void TIM17_IRQHandler(void)
 void I2C1_IRQHandler(void)
 {
   /* USER CODE BEGIN I2C1_IRQn 0 */
-  /* check for NACK ??? */
-  if ( (I2C1->ISR & I2C_ISR_NACKF) != 0 ) {
-    I2C1->ICR |= I2C_ICR_NACKCF;
-    IN15_Percent;
-  }
   /* USER CODE END I2C1_IRQn 0 */
 
   /* USER CODE BEGIN I2C1_IRQn 1 */