From d5b2ba276bbb9da611253bd94411c309594c2f99 Mon Sep 17 00:00:00 2001 From: Martina <martina@rivizzigno.it> Date: Wed, 12 Jul 2017 18:01:35 +0200 Subject: [PATCH] tunes: change tune update interval to 100000 us --- src/lib/tunes/tunes.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/tunes/tunes.h b/src/lib/tunes/tunes.h index 6bfd5cb731..87591ce480 100644 --- a/src/lib/tunes/tunes.h +++ b/src/lib/tunes/tunes.h @@ -42,7 +42,7 @@ // TODO: find better way to include the number of tunes, maybe include them in the lib directly? #include <drivers/drv_tone_alarm.h> -#define TUNE_MAX_UPDATE_INTERVAL_US 330000 +#define TUNE_MAX_UPDATE_INTERVAL_US 100000 class Tunes { @@ -115,6 +115,7 @@ private: unsigned _frequency; unsigned _duration; + unsigned _silence; bool _using_custom_msg = false; /** -- GitLab