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:
Markus Hitter 2015-07-13 12:37:51 +02:00
parent 1eb7e73273
commit df451d72fd
1 changed files with 4 additions and 2 deletions

View File

@ -57,9 +57,11 @@
#include "../simulavr/src/simulavr_info.h"
SIMINFO_DEVICE(MCU_STR);
SIMINFO_CPUFREQUENCY(F_CPU);
#ifdef BAUD
SIMINFO_SERIAL_IN("D0", "-", BAUD);
SIMINFO_SERIAL_OUT("D1", "-", BAUD);
#endif
#endif
#ifdef CANNED_CYCLE
const char PROGMEM canned_gcode_P[] = CANNED_CYCLE;