summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander <trotsenkoa@gmail.com>2022-06-30 07:56:27 +0300
committerAlexander <trotsenkoa@gmail.com>2022-06-30 07:56:27 +0300
commit55e63f8342b5e4398fa56200dd947b73691d8c7c (patch)
tree5e6c83b3928da8a6c1cbd74a71b614dc874fd829
parent1a9490c54aa3aa75fde1778b3a41441bb10e157a (diff)
Рабочая. Убрал включенный светодиод
-rw-r--r--Libraries/LightSensor/light_sensor_task.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/Libraries/LightSensor/light_sensor_task.c b/Libraries/LightSensor/light_sensor_task.c
index 59a0a3f..70b6bc9 100644
--- a/Libraries/LightSensor/light_sensor_task.c
+++ b/Libraries/LightSensor/light_sensor_task.c
@@ -70,13 +70,13 @@ static void ADC_Config(void)
GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_NOPULL ;
GPIO_Init(LIGHT_SENSOR_GPIOx, &GPIO_InitStructure);
- /* GPIO pin configuration */
- GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2;
- GPIO_InitStructure.GPIO_Mode = GPIO_Mode_OUT;
- GPIO_InitStructure.GPIO_OType = GPIO_OType_PP;
- GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_NOPULL;
- GPIO_InitStructure.GPIO_Speed = GPIO_Speed_Level_3;
- GPIO_Init ( GPIOB, &GPIO_InitStructure );
+// /* GPIO pin configuration */
+// GPIO_InitStructure.GPIO_Pin = GPIO_Pin_2;
+// GPIO_InitStructure.GPIO_Mode = GPIO_Mode_OUT;
+// GPIO_InitStructure.GPIO_OType = GPIO_OType_PP;
+// GPIO_InitStructure.GPIO_PuPd = GPIO_PuPd_NOPULL;
+// GPIO_InitStructure.GPIO_Speed = GPIO_Speed_Level_3;
+// GPIO_Init ( GPIOB, &GPIO_InitStructure );
/* ADCs DeInit */
ADC_DeInit(LIGHT_SENSOR_ADCx);