Skip to content

Commit bbc29d0

Browse files
committed
Doc: fix wrong parameter name
The correct parameter name is minimum_digit_number. Signed-off-by: Norbert Takacs <[email protected]>
1 parent 72fd919 commit bbc29d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/documentation.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -502,15 +502,15 @@ The display value can be either from a dataref or from a LUA function or it can
502502
[multi_display:id="MULTI_DISPLAY_UP", blank_leading_zeros="no"]
503503
```
504504

505-
*Minimum character number*: In case of ```blank_leading_zeros="yes"``` is active, we can set the minimum character number for each line. It will stop removing of leading zeros when the minimum character count has been reached(set the ```min_char_count```):
505+
*Minimum character number*: In case of ```blank_leading_zeros="yes"``` is active, we can set the minimum character number for each line. It will stop removing of leading zeros when the minimum character count has been reached(set the ```minimum_digit_number```):
506506
```
507507
[multi_display:id="MULTI_DISPLAY_UP"]
508-
line="on_select:SW_ALT,dataref:sim/custom/gauges/compas/pkp_helper_course_L,min_char_count:2"
508+
line="on_select:SW_ALT,dataref:sim/custom/gauges/compas/pkp_helper_course_L,minimum_digit_number:2"
509509
```
510510

511511
The below table contains some examples of different options. We suppose the display is a 5 character wide, BCD encoded display:
512512

513-
| value | blank_leading_zeros="no" | blank_leading_zeros="yes"<br>min_char_count:2 | blank_leading_zeros="yes"<br>min_char_count:1 |
513+
| value | blank_leading_zeros="no" | blank_leading_zeros="yes"<br>minimum_digit_number:2 | blank_leading_zeros="yes"<br>minimum_digit_number:1 |
514514
| ----- | ------------------------ | --------------------------------------------- | --------------------------------------------- |
515515
| 100 | 00100 | 100 | 100 |
516516
| 1500 | 01500 | 1500 | 1500 |

0 commit comments

Comments
 (0)