stm32f0: usart: fix typo
This commit is contained in:
parent
eaa61e50af
commit
963b713d46
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ static ssize_t usart_write(void *cookie, const char *buf, size_t n)
|
||||||
|
|
||||||
static int usart_get_irq_no(unsigned *irq_no, unsigned dev)
|
static int usart_get_irq_no(unsigned *irq_no, unsigned dev)
|
||||||
{
|
{
|
||||||
if (irq_no)
|
if (!irq_no)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
switch (dev) {
|
switch (dev) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue