File tree Expand file tree Collapse file tree
spruce/scripts/platform/device_functions/utils/trimui-fn Expand file tree Collapse file tree Original file line number Diff line number Diff 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 "
You can’t perform that action at this time.
0 commit comments