From 4115ea128af3308c1a5af224fce83b12c2e97e1a Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Fri, 13 Jan 2023 10:02:47 -0500 Subject: output_pin: Deprecate static_value parameter Remove support for configuring "static" pins in output_pin module. A "static" pin only saves a few bytes of memory in the micro-controller. The savings does not justify the increased code complexity. Deprecate the static_value parameter to warn users. In the interim, a static_value parameter will set both value and shutdown_value parameters. Signed-off-by: Kevin O'Connor --- docs/Config_Reference.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'docs/Config_Reference.md') diff --git a/docs/Config_Reference.md b/docs/Config_Reference.md index 4b53ef26..a6964e5b 100644 --- a/docs/Config_Reference.md +++ b/docs/Config_Reference.md @@ -3096,11 +3096,6 @@ pin: # If this is true, the value fields should be between 0 and 1; if it # is false the value fields should be either 0 or 1. The default is # False. -#static_value: -# If this is set, then the pin is assigned to this value at startup -# and the pin can not be changed during runtime. A static pin uses -# slightly less ram in the micro-controller. The default is to use -# runtime configuration of pins. #value: # The value to initially set the pin to during MCU configuration. # The default is 0 (for low voltage). @@ -3133,6 +3128,8 @@ pin: # then the 'value' parameter can be specified using the desired # amperage for the stepper. The default is to not scale the 'value' # parameter. +#static_value: +# This option is deprecated and should no longer be specified. ``` ### [pwm_tool] -- cgit v1.2.3-70-g09d2