5 months ago | Paul Boddie | raw files shortlog changelog graph | Suppressed the message when omitting the alternate function details of a control or data/command pin. | cpm-library-improvements |
pkg/landfall-examples/hw_info/hw_info.c (file) |
1.1 --- a/pkg/landfall-examples/hw_info/hw_info.c Fri Jun 07 16:13:19 2024 +0200 1.2 +++ b/pkg/landfall-examples/hw_info/hw_info.c Fri Jun 07 16:14:04 2024 +0200 1.3 @@ -1422,7 +1422,7 @@ 1.4 else 1.5 control_chip = gpio[control_port]; 1.6 1.7 - if (!read_number("Function", &control_alt_func_input)) 1.8 + if (!read_number(NULL, &control_alt_func_input)) 1.9 control_alt_func = -1; 1.10 else 1.11 control_alt_func = control_alt_func_input;