Commit d2be67b
fwk: input_module: Pad integers
BUG=When connecting a module with board ID < 10 the digits are shorter, so the table is not properly aligned.
BRANCH=fwk-tulip-29169
TEST=From EC console run inputdeck command. Table should be properly aligned
See below:
ec:~> inputdeck on
Forcing Input modules on
Deck state: FORCE_ON
C-Deck status 0 = 15 2813 mV [X - - - -] [Disconnected]
C-Deck status 1 = 6 907 mV [- X - - -] [Generic Full Width]
C-Deck status 2 = 15 2813 mV [- - X - -] [Disconnected]
C-Deck status 3 = 15 2813 mV [- - - X -] [Disconnected]
C-Deck status 4 = 15 2813 mV [- - - - X] [Disconnected]
C-Deck status 5 = 13 2505 mV [Touchpad ] [Touchpad]
C-Deck status 6 = 14 2813 mV [Toprow disc.] [Reserved]
C-Deck status 7 = 7 1034 mV [Hubboard ] [Reserved]
Input module Overcurrent Events: 0
Signed-off-by: Daniel Schaefer <dhs@frame.work>1 parent 25fc0f0 commit d2be67b
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
352 | | - | |
| 352 | + | |
353 | 353 | | |
354 | 354 | | |
355 | 355 | | |
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
| 376 | + | |
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
| |||
0 commit comments