From 4074389bcef82a7b4ebe48541d2c5d93aeed8955 Mon Sep 17 00:00:00 2001 From: Peter Slattery Date: Mon, 26 Apr 2021 20:18:43 -0400 Subject: [PATCH] time of day fix --- .../audio_responses/voice_command.foldanim | 4 ++-- src/app/ss_blumen_lumen/blumen_lumen_settings.h | 10 ++++++---- 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/app_run_tree/data/blumen_animations/audio_responses/voice_command.foldanim b/app_run_tree/data/blumen_animations/audio_responses/voice_command.foldanim index c21484c..9a5339b 100644 --- a/app_run_tree/data/blumen_animations/audio_responses/voice_command.foldanim +++ b/app_run_tree/data/blumen_animations/audio_responses/voice_command.foldanim @@ -19,8 +19,8 @@ layers:{ blocks:{ block:{ frame_range:{ - min: 1; - max: 3599; + min: 0; + max: 3600; }; layer_index: 0; animation_name: "Pattern_VoicePattern"; diff --git a/src/app/ss_blumen_lumen/blumen_lumen_settings.h b/src/app/ss_blumen_lumen/blumen_lumen_settings.h index 2c4858c..0e21265 100644 --- a/src/app/ss_blumen_lumen/blumen_lumen_settings.h +++ b/src/app/ss_blumen_lumen/blumen_lumen_settings.h @@ -36,10 +36,12 @@ gs_const_string VoicePatternFolder = ConstString("data/blumen_animations/audio_r // NOTE: There is no need to modify the MotorOpenTimesCount variable - // it is a compile time constant that gets calculated automatically global time_range MotorOpenTimes[] = { - { 8, 00, 12, 00 }, - { 12, 30, 13, 00 }, - { 18, 00, 22, 00 }, // 6:00pm to 10:00pm - { 23, 05, 23, 53 }, + { 8, 00, 11, 59 }, // 8a to noon + { 12, 30, 17, 59 }, // midday show - 12:30 - 6p + { 18, 30, 22, 00 }, // 6:30pm to 10:00pm + // { 18, 00, 21, 51 }, // test, remove me + // { 21, 55, 22, 30 }, // test, remove me + // { 23, 05, 23, 53 }, // test, remove me }; global u32 MotorOpenTimesCount = CArrayLength(MotorOpenTimes); // do not edit