From 6da02f3112981706e6364ee5125cf4671441813d Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Mon, 1 Sep 2014 15:59:19 +0200 Subject: [PATCH] config_wrapper.h: protect against USB/serial misconfiguration. --- config_wrapper.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config_wrapper.h b/config_wrapper.h index 9e30315..ce39a32 100644 --- a/config_wrapper.h +++ b/config_wrapper.h @@ -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