aboutsummaryrefslogtreecommitdiffstats
path: root/lib/sam3x
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-01-11 12:04:03 -0500
committerKevin O'Connor <kevin@koconnor.net>2019-01-11 12:04:03 -0500
commit8a6125c81c20aaa5e2fc38ac4981a00e1b21eeef (patch)
tree27be354082c0759f5ab8fd8e51c13b18ccd7cdfa /lib/sam3x
parent32632c8226139896e1becf87c0cdd47a8c0b89ed (diff)
downloadkutter-8a6125c81c20aaa5e2fc38ac4981a00e1b21eeef.tar.gz
kutter-8a6125c81c20aaa5e2fc38ac4981a00e1b21eeef.tar.xz
kutter-8a6125c81c20aaa5e2fc38ac4981a00e1b21eeef.zip
stepper: Fix bug when using a non-zero CONFIG_STEP_DELAY on AVR
Make sure to explicitly cast to 32bit integers when doing math on 16bit integers that require the extra precision as the AVR uses a 16bit int. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'lib/sam3x')
0 files changed, 0 insertions, 0 deletions