config_wrapper.h: protect against USB/serial misconfiguration.

This commit is contained in:
Markus Hitter 2014-09-01 15:59:19 +02:00
parent 9f618ee048
commit 6da02f3112
1 changed files with 7 additions and 0 deletions

View File

@ -18,3 +18,10 @@
#error config.h missing. Please follow instructions at \
reprap.org/wiki/Teacup_Firmware#Simple_Installation
#endif
/**
Additional tests to protect against misconfiguration.
*/
#ifdef USB_SERIAL
#undef BAUD
#endif