code cleanup, reduce global and shared data structures

This commit is contained in:
Nicole Faerber 2021-02-07 20:15:54 +01:00
parent c653d72cf4
commit 5cfad502f7
4 changed files with 180 additions and 130 deletions

View file

@ -28,4 +28,19 @@ struct battery_state_t {
double chargingCurrent;
};
struct t_data_t {
unsigned short *raw_ir_buffer;
unsigned char *jpeg_buffer;
unsigned int jpeg_size;
unsigned char *ir_buffer;
double emissivity;
double tempreflected;
double t_min, t_max, t_center;
struct shutter_state_t shutter_state;
struct battery_state_t battery_state;
gboolean flir_run;
unsigned char *color_palette;
};
#endif