summaryrefslogtreecommitdiff
path: root/Libraries/LightSensor/light_sensor_task.h
diff options
context:
space:
mode:
authorOxore <oxore@protonmail.com>2023-03-03 00:02:25 +0300
committerOxore <oxore@protonmail.com>2023-03-03 00:24:54 +0300
commit2a260911f5abc4e03cb41474a49e01a571395155 (patch)
treea2342b619430d52c06cc90f37ad19b1eba3b7a10 /Libraries/LightSensor/light_sensor_task.h
parentd16620e6ba7467e9ef99bf61336ccd8fb4dfd813 (diff)
Remove precious comments, change encoding to utf-8
Diffstat (limited to 'Libraries/LightSensor/light_sensor_task.h')
-rw-r--r--Libraries/LightSensor/light_sensor_task.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/Libraries/LightSensor/light_sensor_task.h b/Libraries/LightSensor/light_sensor_task.h
index f797ecc..65dbba9 100644
--- a/Libraries/LightSensor/light_sensor_task.h
+++ b/Libraries/LightSensor/light_sensor_task.h
@@ -3,8 +3,8 @@
#include "stm32f0xx_conf.h"
-#define LIGHT_SENSOR_GPIO_PINx GPIO_Pin_6
-#define LIGHT_SENSOR_GPIOx GPIOA
+#define LIGHT_SENSOR_GPIO_PINx GPIO_Pin_6
+#define LIGHT_SENSOR_GPIOx GPIOA
#define LIGHT_SENSOR_RCC_AHBPeriph_GPIOx RCC_AHBPeriph_GPIOA
#define LIGHT_SENSOR_ADCx ADC1
@@ -13,14 +13,12 @@
#define LIGHT_SENSOR_RCC_APBxPeriph_ADCx RCC_APB2Periph_ADC1
typedef enum {
-
LIGHT_SENSOR_STATE_LIGHT,
LIGHT_SENSOR_STATE_DARK
-
} LightSensorState_t;
void LightSensorInit ( void );
void LightSensor_Task ( void *pvParameters );
-#endif //LIGHT_SENSOR_TASK_INCLUDED \ No newline at end of file
+#endif //LIGHT_SENSOR_TASK_INCLUDED