-
Notifications
You must be signed in to change notification settings - Fork 4
/
context.h
57 lines (46 loc) · 1.41 KB
/
context.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
45
46
47
48
49
50
51
52
53
54
55
56
57
#ifndef _CONTEXT_H_
#define _CONTEXT_H_
#include <core.h>
namespace Context {
extern int _menuItemSelected;
extern int _submenuItemSelected;
extern bool _editingItem;
extern int _editingItemCursor;
extern bool _btnOkPressed;
extern bool _submenuFocusHold;
extern bool _submenuTriggerHold;
extern bool _triggerSync;
extern unsigned int _delayMs;
extern bool _delaySync;
extern int _intervalNShots;
extern unsigned int _intervalDelayMs;
extern bool _intervalSync;
extern int _inputMode;
extern bool _inputSync;
extern unsigned int _timingsFocusDurationMs;
extern unsigned int _timingsTriggerDurationMs;
extern bool _timingsSync;
extern int _syncChannel;
extern int _radio;
extern int _brightness;
extern Core::Time _tFocus;
extern Core::Time _tTrigger;
extern bool _inhibitTriggerHold;
extern bool _skipDelay;
extern int _shotsLeft;
extern unsigned int _countdown;
extern int _vBat;
extern unsigned int _shadowDelayMs;
extern int _shadowIntervalNShots;
extern unsigned int _shadowIntervalDelayMs;
extern unsigned int _shadowTimingsFocusDurationMs;
extern unsigned int _shadowTimingsTriggerDurationMs;
extern int _rssi;
extern Core::Time _tReceivedCommand;
const int RSSI_TIMEOUT = 1000;
const int RSSI_MID = -100;
const int RSSI_HIGH = -80;
void read();
void save();
}
#endif