-
Notifications
You must be signed in to change notification settings - Fork 35
/
constants.h
44 lines (37 loc) · 1.23 KB
/
constants.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
32
33
34
35
36
37
38
39
40
41
42
43
44
/*
* Race Capture Pro Firmware
*
* Copyright (C) 2015 Autosport Labs
*
* This file is part of the Race Capture Pro fimrware suite
*
* This 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.
*
* This software 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
* this code. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef CONSTANTS_H_
#define CONSTANTS_H_
/* Include all of the command definitions here */
#include "baseCommands.h"
#include "loggerCommands.h"
#include "loggerApi.h"
#include "api.h"
#include "command.h"
#include "luaCommands.h"
#define XSTR(s) STR(s)
#define STR(s) #s
#define MAJOR_REV_STR XSTR(MAJOR_REV)
#define MINOR_REV_STR XSTR(MINOR_REV)
#define BUGFIX_REV_STR XSTR(BUGFIX_REV)
#define WATCHDOG_TIMEOUT_MS 2000
#define RCP_SERVICE_PORT 7223
#endif /* CONSTANTS_H_ */