-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathdavega_simple_screen.h
31 lines (22 loc) · 1.15 KB
/
davega_simple_screen.h
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
29
30
31
/*
Copyright 2018 Jan Pomikalek <[email protected]>
This file is part of the DAVEga firmware.
DAVEga firmware is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
DAVEga firmware is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with DAVEga firmware. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef DAVEGA_SIMPLE_SCREEN_H
#define DAVEGA_SIMPLE_SCREEN_H
#include "davega_screen.h"
#define SS_YELLOW_SPEED_KPH 25
#define SS_RED_SPEED_KPH 35
uint16_t primary_item_color(t_screen_item screen_item, t_davega_data* data, t_davega_screen_config* config);
uint8_t primary_item_value(t_screen_item screen_item, t_davega_data* data, t_davega_screen_config* config);
#endif //DAVEGA_SIMPLE_SCREEN_H