changed atomic access for updating the acceleration profile

the stepper interrupt is only halted when necessary and for the shortest
time possible (8% cycle time)
This commit is contained in:
Jens Geisler
2013-02-22 16:36:27 +01:00
parent 67608a5014
commit ea09ddba99
5 changed files with 47 additions and 24 deletions

View File

@ -42,7 +42,7 @@ FUSES = -U hfuse:w:0xd2:m -U lfuse:w:0xff:m
# Tune the lines below only if you know what you are doing:
AVRDUDE = avrdude $(PROGRAMMER) -p $(DEVICE) -B 10 -F
COMPILE = avr-gcc -Wall -Os -DF_CPU=$(CLOCK) -mmcu=$(DEVICE) -I. -ffunction-sections
COMPILE = avr-gcc -Wall -Os -DF_CPU=$(CLOCK) -mmcu=$(DEVICE) -I. -ffunction-sections --std=c99
# symbolic targets:
all: grbl.hex