mirror of
https://github.com/elua/elua.git
synced 2025-01-08 20:56:17 +08:00
Fix typo in Console/Terminal arch doc
This commit is contained in:
parent
6a1e683a8f
commit
210cd6f21a
@ -15,7 +15,7 @@ typedef void ( *p_std_send_char )( int fd, char c );
|
||||
typedef int ( *p_std_get_char )( s32 to );
|
||||
</code></pre>
|
||||
<p>(the <b>send</b> function gets an additional <b>fd</b> parameter that you can use to differentiate between the standard C stdout and stderr output streams).</p>
|
||||
<p>To set them, use <b>std_set_send_func</b> and <b>std_set_get_func</b>, both are defined in <i>inc/newlib/getstd.h</i>. Usually they are called from <i>src/common.c</i> and configured to work
|
||||
<p>To set them, use <b>std_set_send_func</b> and <b>std_set_get_func</b>, both are defined in <i>inc/newlib/genstd.h</i>. Usually they are called from <i>src/common.c</i> and configured to work
|
||||
over the UART by default:</p>
|
||||
<pre><code>// *****************************************************************************
|
||||
// std functions and platform initialization
|
||||
|
Loading…
x
Reference in New Issue
Block a user