aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/settings.h
blob: 27f0d9751a262585dce7cee61143cc8a0128acc3 (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
28
#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[6];
	uint8_t temp_setpoint_active;
	fixpt_t temp_adj;
	uint8_t reserved[2];
	uint8_t serial;
};


struct settings * get_settings(void);
void store_settings(void);

void settings_work(void);

void settings_init(void);

#endif /* SETTINGS_H_ */
bues.ch cgit interface