summaryrefslogtreecommitdiff
path: root/metawatch
diff options
context:
space:
mode:
authorJavier S. Pedro <maemo@javispedro.com>2012-08-15 02:13:56 +0200
committerJavier S. Pedro <maemo@javispedro.com>2012-08-15 02:13:56 +0200
commit6ceeb0c4b0e920740a2b65b01f76bb71f9d75db8 (patch)
treefec223a03eb5c9c19686a2b1f606e86b434f6b20 /metawatch
parent4256e43152d06fcecae3987ba30fddd5f20f5c6f (diff)
downloadsowatch-6ceeb0c4b0e920740a2b65b01f76bb71f9d75db8.tar.gz
sowatch-6ceeb0c4b0e920740a2b65b01f76bb71f9d75db8.zip
minor changes
Diffstat (limited to 'metawatch')
-rw-r--r--metawatch/metawatch.cpp4
-rw-r--r--metawatch/metawatch.h4
2 files changed, 5 insertions, 3 deletions
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,