blob: 2197ef07c4886d59ae36590012bd9e1db9f903e0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include <stdint.h>
struct data_ctx {
uint16_t timestamp;
float setting;
float pressure;
float altitude;
struct timer *timer;
struct barometer *barometer;
};
void data_manager_init(struct data_ctx*, struct timer*, struct barometer*);
void data_manager_tick(struct data_ctx*);
|