Permalink
Browse files

Clean up some unused delay related stuff.

  • Loading branch information...
1 parent aece36f commit 2ebfd445306746b804d3e0ec77d7fb011974e52e @Traumflug committed Mar 19, 2013
Showing with 1 addition and 5 deletions.
  1. +1 −1 dda_queue.c
  2. +0 −2 delay.h
  3. +0 −1 home.c
  4. +0 −1 temp.c
View
@@ -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
@@ -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
View
@@ -6,7 +6,6 @@
#include "dda.h"
#include "dda_queue.h"
-#include "delay.h"
#include "pinio.h"
#include "gcode_parse.h"
View
@@ -11,7 +11,6 @@
#include <avr/pgmspace.h>
#include "arduino.h"
-#include "delay.h"
#include "debug.h"
#ifndef EXTRUDER
#include "sersendf.h"

0 comments on commit 2ebfd44

Please sign in to comment.