projects
/
simavr
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
misc: Fixes clang warnings
[simavr]
/
examples
/
board_reprap
/
src
/
stepper.h
diff --git
a/examples/board_reprap/src/stepper.h
b/examples/board_reprap/src/stepper.h
index
9f450ac
..
14b0df1
100644
(file)
--- a/
examples/board_reprap/src/stepper.h
+++ b/
examples/board_reprap/src/stepper.h
@@
-40,7
+40,7
@@
typedef struct stepper_t {
char name[32];
int enable : 1, dir : 1, trace : 1;
double steps_per_mm;
-
uint64_t
position; // in steps
+
int64_t
position; // in steps
uint64_t max_position;
uint64_t endstop;
avr_cycle_count_t timer_period;