dda_lookahead.c: Eliminate debug crossF variable compile warning.

Fix:
  dda_lookahead.c:327:17: warning: 'crossF' may be used
  uninitialized in this function [-Wmaybe-uninitialized]
       sersendf_P(PSTR("Initial crossing speed: %lu\n"), crossF);
                 ^
This commit is contained in:
David Forrest 2014-03-24 23:14:02 -04:00 committed by Markus Hitter
parent 2496a95c6f
commit 5b5c44b523
1 changed files with 1 additions and 1 deletions

View File

@ -324,7 +324,7 @@ void dda_join_moves(DDA *prev, DDA *current) {
// Show the proposed crossing speed - this might get adjusted below.
if (DEBUG_DDA && (debug_flags & DEBUG_DDA))
sersendf_P(PSTR("Initial crossing speed: %lu\n"), crossF);
sersendf_P(PSTR("Initial crossing speed: %lu\n"), current->crossF);
// Make sure we have 2 moves and the previous move is not already active
if (prev->live == 0) {