-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathcommon.h
26 lines (21 loc) · 826 Bytes
/
common.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
/*
* Amiigo Link common
*
* @date March 9, 2014
* @author: dashesy
* @copyright Amiigo Inc.
*/
#ifndef COMMON_H
#define COMMON_H
#define FW_VERSION(Major, Minor, Build) (Major * 100000u + Minor * 1000u + Build)
typedef struct _aml_options {
int leave_compressed; // If packets should be left in compressed form
int raw; // If should download logs in raw format (no compression in firmware)
int verbosity; // verbose output
int live; // if live output is needed
int console; // if should print accel to console
int append; // if should append instead of creating new files
int full; // If full characteristcs should be discovered
} aml_options_t;
extern aml_options_t g_opt;
#endif // include guard