mendel.c: set SIMINFO serial port only when BAUD is available.
This was found by running the new regression tests.
This commit is contained in:
parent
1eb7e73273
commit
df451d72fd
6
mendel.c
6
mendel.c
|
|
@ -57,8 +57,10 @@
|
|||
#include "../simulavr/src/simulavr_info.h"
|
||||
SIMINFO_DEVICE(MCU_STR);
|
||||
SIMINFO_CPUFREQUENCY(F_CPU);
|
||||
SIMINFO_SERIAL_IN("D0", "-", BAUD);
|
||||
SIMINFO_SERIAL_OUT("D1", "-", BAUD);
|
||||
#ifdef BAUD
|
||||
SIMINFO_SERIAL_IN("D0", "-", BAUD);
|
||||
SIMINFO_SERIAL_OUT("D1", "-", BAUD);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef CANNED_CYCLE
|
||||
|
|
|
|||
Loading…
Reference in New Issue