From 69e91b8acdf91b7b139e041929f98866e9c0f9fe Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Fri, 20 Feb 2015 12:41:18 +0100 Subject: [PATCH] ACCELERATION_TEMPORAL: always disable lookahead. We simply don't support it, yet. And warn about it, so developers get encouraged to add the few missing bits. --- config_wrapper.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config_wrapper.h b/config_wrapper.h index ce39a32..bf3140a 100644 --- a/config_wrapper.h +++ b/config_wrapper.h @@ -25,3 +25,12 @@ #ifdef USB_SERIAL #undef BAUD #endif + +/** + ACCELERATION_TEMPORAL doesn't support lookahead, yet. +*/ +#if defined ACCELERATION_TEMPORAL && defined LOOKAHEAD + #warning Acceleration temporal doesnt support lookahead, yet. \ + Lookahead disabled. + #undef LOOKAHEAD +#endif