lib: os: exclude z_arch_printk_char_out()
This function doesn't do anything, and only exists so that it can be overridden later, exclude from coverage reports. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
05212e823f
commit
d045bd7673
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,7 @@ static void _printk_hex_ulong(out_func_t out, void *ctx,
|
|||
*
|
||||
* @return 0
|
||||
*/
|
||||
/* LCOV_EXCL_START */
|
||||
__attribute__((weak)) int z_arch_printk_char_out(int c)
|
||||
{
|
||||
ARG_UNUSED(c);
|
||||
|
@ -53,6 +54,7 @@ static void _printk_hex_ulong(out_func_t out, void *ctx,
|
|||
/* do nothing */
|
||||
return 0;
|
||||
}
|
||||
/* LCOV_EXCL_STOP */
|
||||
|
||||
int (*_char_out)(int) = z_arch_printk_char_out;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue