diff options
author | Javier S. Pedro <maemo@javispedro.com> | 2012-08-15 02:13:56 +0200 |
---|---|---|
committer | Javier S. Pedro <maemo@javispedro.com> | 2012-08-15 02:13:56 +0200 |
commit | 6ceeb0c4b0e920740a2b65b01f76bb71f9d75db8 (patch) | |
tree | fec223a03eb5c9c19686a2b1f606e86b434f6b20 /metawatch | |
parent | 4256e43152d06fcecae3987ba30fddd5f20f5c6f (diff) | |
download | sowatch-6ceeb0c4b0e920740a2b65b01f76bb71f9d75db8.tar.gz sowatch-6ceeb0c4b0e920740a2b65b01f76bb71f9d75db8.zip |
minor changes
Diffstat (limited to 'metawatch')
-rw-r--r-- | metawatch/metawatch.cpp | 4 | ||||
-rw-r--r-- | metawatch/metawatch.h | 4 |
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, |