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:
parent
3e79d21100
commit
f0155b9099
@ -856,8 +856,8 @@ int up_putc(int ch)
|
||||
}
|
||||
|
||||
arm_lowputc(ch);
|
||||
return ch;
|
||||
#endif
|
||||
return ch;
|
||||
}
|
||||
|
||||
#endif /* HAVE_UART_DEVICE && USE_SERIALDRIVER */
|
||||
|
@ -856,8 +856,8 @@ int up_putc(int ch)
|
||||
}
|
||||
|
||||
arm_lowputc(ch);
|
||||
return ch;
|
||||
#endif
|
||||
return ch;
|
||||
}
|
||||
|
||||
#endif /* HAVE_UART_DEVICE && USE_SERIALDRIVER */
|
||||
|
@ -856,8 +856,8 @@ int up_putc(int ch)
|
||||
}
|
||||
|
||||
arm_lowputc(ch);
|
||||
return ch;
|
||||
#endif
|
||||
return ch;
|
||||
}
|
||||
|
||||
#endif /* HAVE_UART_DEVICE && USE_SERIALDRIVER */
|
||||
|
Loading…
Reference in New Issue
Block a user