From 6ceeb0c4b0e920740a2b65b01f76bb71f9d75db8 Mon Sep 17 00:00:00 2001 From: "Javier S. Pedro" Date: Wed, 15 Aug 2012 02:13:56 +0200 Subject: minor changes --- metawatch/metawatch.cpp | 4 ++-- metawatch/metawatch.h | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'metawatch') diff --git a/metawatch/metawatch.cpp b/metawatch/metawatch.cpp index 3144b35..787669e 100644 --- a/metawatch/metawatch.cpp +++ b/metawatch/metawatch.cpp @@ -250,7 +250,7 @@ void MetaWatch::displayNotification(Notification *notification) _idleTimer->stop(); } else { _ringTimer->stop(); - setVibrateMode(true, RingLength, RingLength, 2); + setVibrateMode(true, VibrateLength, VibrateLength, 2); _idleTimer->start(); } } @@ -788,7 +788,7 @@ void MetaWatch::timedSend() void MetaWatch::timedRing() { - setVibrateMode(true, 250, 250, 3); + setVibrateMode(true, RingLength, RingLength, 3); } void MetaWatch::realNvalWrite(NvalValue value, int data) diff --git a/metawatch/metawatch.h b/metawatch/metawatch.h index b25b14d..e6cedc6 100644 --- a/metawatch/metawatch.h +++ b/metawatch/metawatch.h @@ -27,8 +27,10 @@ public: ~MetaWatch(); static const int DelayBetweenMessages = 10; + + static const int VibrateLength = 500; static const int DelayBetweenRings = 2500; - static const int RingLength = 500; + static const int RingLength = 250; enum MessageType { NoMessage = 0, -- cgit v1.2.3 tree/vbox.c?h=v0.64&id=68979e8afd471f16c5a39888fbeaa23c2240651e'>treecommitdiff
path: root/vbox.c
blob: 28fb02da713376a8b984aae10acc3b2c2a6eaa13 (plain)
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131