Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shell: introduce shell_xxx_impl wrapper functions for output macros #75340

Merged

Commits on Jul 2, 2024

  1. shell: introduce shell_xxx_impl wrapper functions for output macros

    Refactor shell output macros to minimize caller overhead by eliminating
    direct `color` parameter passing:
    - Introduce wrapper functions: `shell_info_impl`, `shell_print_impl`,
      `shell_warn_impl`, `shell_error_impl`.
    - Replace `shell_fprintf` in macros with these new wrappers.
    - Update `shell_hexdump_line` to use the new wrappers,
      minimizing caller overhead.
    
    Signed-off-by: Pisit Sawangvonganan <[email protected]>
    ndrs-pst committed Jul 2, 2024
    Configuration menu
    Copy the full SHA
    8b338cd View commit details
    Browse the repository at this point in the history