From 55e63f8342b5e4398fa56200dd947b73691d8c7c Mon Sep 17 00:00:00 2001 From: Alexander Date: Thu, 30 Jun 2022 07:56:27 +0300 Subject: =?UTF-8?q?=D0=A0=D0=B0=D0=B1=D0=BE=D1=87=D0=B0=D1=8F.=20=D0=A3?= =?UTF-8?q?=D0=B1=D1=80=D0=B0=D0=BB=20=D0=B2=D0=BA=D0=BB=D1=8E=D1=87=D0=B5?= =?UTF-8?q?=D0=BD=D0=BD=D1=8B=D0=B9=20=D1=81=D0=B2=D0=B5=D1=82=D0=BE=D0=B4?= =?UTF-8?q?=D0=B8=D0=BE=D0=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Libraries/LightSensor/light_sensor_task.c | 14 +++++++------- 1 file 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); -- cgit v1.2.3