blob: aec586979db9d8161e06905c693b0591a3d96f2f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#include <FreeRTOS.h>
#include <task.h>
#include <stm32f0xx_hal.h>
#include "main.h"
#include "setup.h"
#include "sensor.h"
#include "backlog.h"
int main() {
ws_io_setup();
ws_backlog_alloc(24 * 60);
ws_sensor_read();
xTaskCreate(ws_sensor_read_task, "sensor", 128, NULL, 1, NULL);
vTaskStartScheduler();
}
|