Hi Rasmus,
On Fri, 17 Feb 2023 at 17:59, Rasmus Villemoes
wrote:
>
> It's almost no extra code to hook up a buddy to the 'read' command. In
> fact, since the command is passed its own 'struct cmd_tbl', we can use
> the exact same callback, and let it figure out for itself whether it
> was invoked
It's almost no extra code to hook up a buddy to the 'read' command. In
fact, since the command is passed its own 'struct cmd_tbl', we can use
the exact same callback, and let it figure out for itself whether it
was invoked as "read" or "write".
Signed-off-by: Rasmus Villemoes
---
cmd/Kconfig |
2 matches
Mail list logo