forked from RocketGod-git/ProtoPirate
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefines.h
More file actions
47 lines (41 loc) · 1.26 KB
/
Copy pathdefines.h
File metadata and controls
47 lines (41 loc) · 1.26 KB
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
45
46
47
#pragma once
#include <furi/core/log.h>
//*** You cannot Build the EXTERNAL features INTERNAL features IN SAME FAP ***
//*** The following items are MUTUALLY EXCLUSIVE ***
// ENABLE_EMULATE_FEATURE / ENABLE_EMULATE_EXTERNAL
// ENABLE_SUB_DECODE_SCENE / ENABLE_SUB_DECODE_EXTERNAL
// ENABLE_TIMING_TUNER_SCENE / ENABLE_TIMING_TUNER_EXTERNAL
#ifdef BUILD_EMULATE_APP
#define ENABLE_EMULATE_FEATURE
#define ENABLE_SAVED_SCENE
#else
#ifdef BUILD_RECEIVER_APP
#define ENABLE_RECEIVER_SCENE
#define ENABLE_SAVED_SCENE
//#define ENABLE_SET_TYPE_SCENE
#define ENABLE_SUB_DECODE_EXTERNAL
#define ENABLE_TIMING_TUNER_EXTERNAL
#define ENABLE_EMULATE_EXTERNAL
#else
#define ENABLE_SUB_DECODE_SCENE
#define ENABLE_TIMING_TUNER_SCENE
#endif
#endif
//The in-built variable_item_list has the Left/Right event mod
//We can remove the module if FW ever getes the changes...
//#define USE_BUILT_IN_VARIABLE_ITEM_LIST
#define REMOVE_LOGS
#ifdef REMOVE_LOGS
// Undefine existing macros
#undef FURI_LOG_E
#undef FURI_LOG_W
#undef FURI_LOG_I
#undef FURI_LOG_D
#undef FURI_LOG_T
// Define empty macros
#define FURI_LOG_E(tag, format, ...)
#define FURI_LOG_W(tag, format, ...)
#define FURI_LOG_I(tag, format, ...)
#define FURI_LOG_D(tag, format, ...)
#define FURI_LOG_T(tag, format, ...)
#endif // REMOVE_LOGS