blob: 807888f3cf6216a4a9eaa88f9ff397e1a1e8ba49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef SETTINGS_H_
#define SETTINGS_H_
#include "util.h"
#include "fixpt.h"
#include "pid.h"
#include "controller_temp.h"
struct settings {
struct pid_k_set temp_k[3];
fixpt_t temp_idle_setpoint;
fixpt_t temp_setpoint[3];
uint8_t temp_setpoint_active;
uint8_t reserved[14];
uint8_t serial;
} _packed;
struct settings * get_settings(void);
void store_settings(void);
void settings_work(void);
void settings_init(void);
#endif /* SETTINGS_H_ */
|