interface to enable or disable acceleration management

This commit is contained in:
Simen Svale Skogsrud
2011-01-14 17:13:33 +01:00
parent 0be21a9034
commit 7327b82585
3 changed files with 44 additions and 5 deletions

2
main.c
View File

@ -21,6 +21,7 @@
#include <avr/io.h>
#include <avr/sleep.h>
#include <util/delay.h>
#include "motion_plan.h"
#include "stepper.h"
#include "spindle_control.h"
#include "motion_control.h"
@ -35,6 +36,7 @@ int main(void)
beginSerial(BAUD_RATE);
printString("A");
config_init();
mp_init(); // initialize the motion plan subsystem
st_init(); // initialize the stepper subsystem
mc_init(); // initialize motion control subsystem
spindle_init(); // initialize spindle controller