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.
This commit is contained in:
Markus Hitter 2015-02-20 12:41:18 +01:00
parent 7d7d6178cf
commit 69e91b8acd
1 changed files with 9 additions and 0 deletions

View File

@ -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