diff options
author | UnavailableDev <69792062+UnavailableDev@users.noreply.github.com> | 2022-10-30 10:57:11 +0100 |
---|---|---|
committer | UnavailableDev <69792062+UnavailableDev@users.noreply.github.com> | 2022-10-30 10:57:50 +0100 |
commit | 8952e19f00e0930e53e3731fd30be5e2600d9fd6 (patch) | |
tree | 2770bfd4319402c88b6872d1f8699252329c6603 /stm32f091/main.c | |
parent | 6d9df6fe97502a852b68c8c8e6781d7208170cae (diff) | |
parent | 60f954dbaa399f8f0bcaeeb307953fc3b37b9dc7 (diff) |
finish merge
Diffstat (limited to 'stm32f091/main.c')
-rw-r--r-- | stm32f091/main.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/stm32f091/main.c b/stm32f091/main.c index 9235f1b..67c0a8d 100644 --- a/stm32f091/main.c +++ b/stm32f091/main.c @@ -5,19 +5,9 @@ #include "main.h" #include "setup.h" #include "sensor.h" -#include "backlog.h" int main() { ws_io_setup(); - HAL_GPIO_Init(GPIOA, &(GPIO_InitTypeDef) { - .Pin = GPIO_PIN_5, - .Mode = GPIO_MODE_OUTPUT_PP, - .Pull = GPIO_NOPULL - }); - - ws_backlog_alloc(24 * 60); - ws_sensor_read(); - - xTaskCreate(ws_sensor_read_task, "sensor", 128, NULL, 1, NULL); + xTaskCreate(ws_sensor_read_task, "sensor", 64, NULL, 1, NULL); vTaskStartScheduler(); } |