Skip to content

Commit 95a8497

Browse files
committed
change most logging in fn setting wd to verbose mode only
1 parent 014047c commit 95a8497

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

spruce/scripts/platform/device_functions/utils/trimui-fn/fn_setting_watchdog.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -94,23 +94,23 @@ update_scripts_to_run() {
9494
fn1_press="$1"
9595
fn1_release="$2"
9696

97-
log_message "f1 press script: $fn1_press"
98-
log_message "f1 release script: $fn1_release"
97+
log_message "f1 press script: $fn1_press" -v
98+
log_message "f1 release script: $fn1_release" -v
9999

100100
set --
101101
scripts="$(get_scripts_from_menu_description "$fn2_val")"
102102
set -- $scripts
103103
fn2_press="$1"
104104
fn2_release="$2"
105105

106-
log_message "f2 press script: $fn2_press"
107-
log_message "f2 release script: $fn2_release"
106+
log_message "f2 press script: $fn2_press" -v
107+
log_message "f2 release script: $fn2_release" -v
108108

109109
set --
110110
set -- $(get_scripts_from_menu_description "$switch_val")
111111
switch_script="$1"
112112

113-
log_message "switch toggle script: $switch_script"
113+
log_message "switch toggle script: $switch_script" -v
114114

115115
if [ -n "$switch_script" ] && [ -f "$SPRUCE_FN_DIR/switch/$switch_script" ]; then
116116
cp -f "$SPRUCE_FN_DIR/switch/$switch_script" "$SWITCH_DIR"/
@@ -156,7 +156,7 @@ monitor_for_config_changes() {
156156
values_differ "$prev_fn2" "$next_fn2" || \
157157
values_differ "$prev_switch" "$next_switch"
158158
then
159-
log_message "One of the fn settings has changed."
159+
log_message "One of the fn settings has changed." -v
160160
update_scripts_to_run
161161
prev_fn1="$next_fn1"
162162
prev_fn2="$next_fn2"

0 commit comments

Comments
 (0)