Commit 73ff4e4
fix(cli/status): use descriptors() for device count in daemon mode
discovery.lcd_devices / led_devices are always empty through TrccProxy
because live device objects don't travel over the wire. Both Trcc and
TrccProxy expose lcd_descriptors() / led_descriptors() which do the
right thing in both in-process and daemon-proxy mode.
Fixes 'No devices connected.' in `trcc status` when daemon holds USB.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent e49586c commit 73ff4e4
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
86 | | - | |
87 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
88 | 91 | | |
89 | 92 | | |
90 | 93 | | |
| |||
0 commit comments