Replies: 2 comments 3 replies
-
The function pointer is typedef'd on line 38 of the header: So the prototype in your case would be: And your function might look something like: |
Beta Was this translation helpful? Give feedback.
-
Thanks for chiming in with the correct answer, @mickjc750 :) I'll file an issue to improve the documentation, @andkae's question makes it clear that this is a gap. I filed #241 to address it, sorry it wasn't clear enough! (I take these things for granted, as the author :)) |
Beta Was this translation helpful? Give feedback.
-
Hi Charles,
In the Readme is the usage of
npf_pprintf
demonstrated.At the moment I stumble a little to write the callback function
my_uart_putc
. Could you please share the prototype for such an callback function.Thanks in advance.
BR,
Andreas
Beta Was this translation helpful? Give feedback.
All reactions