cleanup, protected some more module variables as static
This commit is contained in:
parent
f423852657
commit
ff73645a14
6 changed files with 14 additions and 25 deletions
14
main.c
14
main.c
|
|
@ -33,13 +33,13 @@
|
|||
|
||||
int main(void)
|
||||
{
|
||||
sp_init(); // initialize the serial protocol
|
||||
settings_init();
|
||||
plan_init(); // initialize the stepper plan subsystem
|
||||
st_init(); // initialize the stepper subsystem
|
||||
spindle_init(); // initialize spindle controller
|
||||
gc_init(); // initialize gcode-parser
|
||||
|
||||
sp_init();
|
||||
settings_init();
|
||||
plan_init();
|
||||
st_init();
|
||||
spindle_init();
|
||||
gc_init();
|
||||
|
||||
for(;;){
|
||||
sleep_mode(); // Wait for it ...
|
||||
sp_process(); // ... process the serial protocol
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue