Various minor updates and variable definition corrections. Removed deprecated acceleration manager.
- Removed deprecated acceleration manager (non-functional since v0.7b) - Updated variable types and function headers. - Updated stepper interrupt to ISR() from SIGNAL()+sei(). - General code cleanup.
This commit is contained in:
parent
4bf0085ae6
commit
12bae58994
10 changed files with 210 additions and 205 deletions
6
main.c
6
main.c
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
int main(void)
|
||||
{
|
||||
sei();
|
||||
sei(); // Enable interrupts
|
||||
|
||||
serial_init(BAUD_RATE);
|
||||
protocol_init();
|
||||
|
|
@ -47,8 +47,8 @@ int main(void)
|
|||
gc_init();
|
||||
limits_init();
|
||||
|
||||
for(;;){
|
||||
sleep_mode(); // Wait for it ...
|
||||
while (1) {
|
||||
// sleep_mode(); // Wait for it ...
|
||||
protocol_process(); // ... process the serial protocol
|
||||
}
|
||||
return 0; /* never reached */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue