mirror of
https://github.com/apache/nuttx.git
synced 2026-09-01 14:43:02 +00:00
Fix a copy paste error in recent config/z80sim change.
This commit is contained in:
parent
3e40460ab8
commit
f790841641
2 changed files with 5 additions and 4 deletions
|
|
@ -1,7 +1,7 @@
|
|||
############################################################################
|
||||
# configs/z80sim/src/Makefile
|
||||
#
|
||||
# Copyright (C) 2007, 2008, 2012 Gregory Nutt. All rights reserved.
|
||||
# Copyright (C) 2007, 2008, 2012, 2017 Gregory Nutt. All rights reserved.
|
||||
# Author: Gregory Nutt <gnutt@nuttx.org>
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
|
@ -38,7 +38,7 @@
|
|||
ASRCS =
|
||||
CSRCS = z80_irq.c z80_timerisr.c z80_lowputc.c
|
||||
|
||||
ifneq ($(CONFIG_DISABLE_SIGNALS),y)
|
||||
ifneq ($(CONFIG_NFILE_DESCRIPTOR),0)
|
||||
CSRCS += z80_serial.c
|
||||
endif
|
||||
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
#include "up_arch.h"
|
||||
#include "up_internal.h"
|
||||
|
||||
#ifdef USE_SERIALDRIVER
|
||||
#if defined(USE_SERIALDRIVER) && CONFIG_NFILE_DESCRIPTORS > 0
|
||||
|
||||
/****************************************************************************
|
||||
* Private Function Prototypes
|
||||
|
|
@ -335,7 +335,8 @@ void up_serialinit(void)
|
|||
(void)uart_register("/dev/console", &g_uartport);
|
||||
(void)uart_register("/dev/ttyS0", &g_uartport);
|
||||
}
|
||||
#endif /* USE_SERIALDRIVER */
|
||||
|
||||
#endif /* USE_SERIALDRIVER && CONFIG_NFILE_DESCRIPTORS > 0 */
|
||||
|
||||
/****************************************************************************
|
||||
* Name: up_putc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue