Clean up some unused delay related stuff.

This commit is contained in:
Markus Hitter 2013-03-19 19:40:06 +01:00
parent aece36f6a2
commit 2ebfd44530
4 changed files with 1 additions and 5 deletions

View File

@ -94,7 +94,7 @@ void queue_step() {
void enqueue_home(TARGET *t, uint8_t endstop_check, uint8_t endstop_stop_cond) {
// don't call this function when the queue is full, but just in case, wait for a move to complete and free up the space for the passed target
while (queue_full())
delay(WAITING_DELAY);
delay(100);
uint8_t h = mb_head + 1;
h &= (MOVEBUFFER_SIZE - 1);

View File

@ -5,8 +5,6 @@
#include <util/delay_basic.h>
#include "watchdog.h"
#define WAITING_DELAY 100
#if F_CPU < 4000000UL
#error Delay functions only work with F_CPU >= 4000000UL
#endif

1
home.c
View File

@ -6,7 +6,6 @@
#include "dda.h"
#include "dda_queue.h"
#include "delay.h"
#include "pinio.h"
#include "gcode_parse.h"

1
temp.c
View File

@ -11,7 +11,6 @@
#include <avr/pgmspace.h>
#include "arduino.h"
#include "delay.h"
#include "debug.h"
#ifndef EXTRUDER
#include "sersendf.h"