arch/nrf{52|53|91}/serial: fix warning if HAVE_UART_CONSOLE not defined

warning: control reaches end of non-void function [-Wreturn-type]
This commit is contained in:
raiden00pl 2023-09-20 19:16:48 +02:00 committed by Xiang Xiao
parent 3e79d21100
commit f0155b9099
3 changed files with 3 additions and 3 deletions

View File

@ -856,8 +856,8 @@ int up_putc(int ch)
}
arm_lowputc(ch);
return ch;
#endif
return ch;
}
#endif /* HAVE_UART_DEVICE && USE_SERIALDRIVER */

View File

@ -856,8 +856,8 @@ int up_putc(int ch)
}
arm_lowputc(ch);
return ch;
#endif
return ch;
}
#endif /* HAVE_UART_DEVICE && USE_SERIALDRIVER */

View File

@ -856,8 +856,8 @@ int up_putc(int ch)
}
arm_lowputc(ch);
return ch;
#endif
return ch;
}
#endif /* HAVE_UART_DEVICE && USE_SERIALDRIVER */