Skip to content
Commit 3ab60466 authored by Johan Hedberg's avatar Johan Hedberg Committed by Anas Nashif
Browse files

printk: Refactor to allow passing a parsing context around



Pass a parsing context around, allowing counting the number of
characters written, which is then returned in the return value of
printk(). This makes printk more similar to printf and prepares the
way to extend the implementation to support printing to strings.

Change-Id: Ib28a18a4f36fc58b98b228fd5763b2c05f5af7bc
Signed-off-by: default avatarJohan Hedberg <johan.hedberg@intel.com>
parent 918740d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment