mirror of
https://github.com/apache/nuttx.git
synced 2026-08-24 06:58:27 +00:00
arch/riscv: Rename riscv_puts to up_puts
since it's a common API defined in include/nuttx/arch.h Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
6d888dc8a7
commit
d980c0ffa2
2 changed files with 2 additions and 3 deletions
|
|
@ -200,7 +200,6 @@ void riscv_pminitialize(void);
|
|||
/* Low level serial output **************************************************/
|
||||
|
||||
void riscv_lowputc(char ch);
|
||||
void riscv_puts(const char *str);
|
||||
void riscv_lowputs(const char *str);
|
||||
|
||||
#ifdef USE_SERIALDRIVER
|
||||
|
|
|
|||
|
|
@ -32,14 +32,14 @@
|
|||
****************************************************************************/
|
||||
|
||||
/****************************************************************************
|
||||
* Name: riscv_puts
|
||||
* Name: up_puts
|
||||
*
|
||||
* Description:
|
||||
* This is a low-level helper function used to support debug.
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
void riscv_puts(const char *str)
|
||||
void up_puts(const char *str)
|
||||
{
|
||||
while (*str)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue