Skip to content

Commit

Permalink
fix to avr-libc library change in _delay_us() that was not backward c…
Browse files Browse the repository at this point in the history
…ompatible
  • Loading branch information
stefanix committed Dec 7, 2012
1 parent f4b2c1b commit baa1ac2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stepper.c
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
Speed adjustments are made ACCELERATION_TICKS_PER_SECOND times per second.
*/

#define __DELAY_BACKWARD_COMPATIBLE__ // _delay_us() make backward compatible see delay.h

#include <math.h>
#include <stdlib.h>
#include <util/delay.h>
Expand Down

0 comments on commit baa1ac2

Please sign in to comment.