Removed coolant
authorJoseph Coffland <joseph@cauldrondevelopment.com>
Mon, 15 Jan 2018 00:04:49 +0000 (16:04 -0800)
committerJoseph Coffland <joseph@cauldrondevelopment.com>
Mon, 15 Jan 2018 00:04:49 +0000 (16:04 -0800)
src/avr/src/coolant.c [deleted file]
src/avr/src/coolant.h [deleted file]
src/avr/src/vars.def
src/avr/test/hal.c

diff --git a/src/avr/src/coolant.c b/src/avr/src/coolant.c
deleted file mode 100644 (file)
index 4f8fa36..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-/******************************************************************************\
-
-                This file is part of the Buildbotics firmware.
-
-                  Copyright (c) 2015 - 2017 Buildbotics LLC
-                            All rights reserved.
-
-     This file ("the software") is free software: you can redistribute it
-     and/or modify it under the terms of the GNU General Public License,
-      version 2 as published by the Free Software Foundation. You should
-      have received a copy of the GNU General Public License, version 2
-     along with the software. If not, see <http://www.gnu.org/licenses/>.
-
-     The software is distributed in the hope that it will be useful, but
-          WITHOUT ANY WARRANTY; without even the implied warranty of
-      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-               Lesser General Public License for more details.
-
-       You should have received a copy of the GNU Lesser General Public
-                License along with the software.  If not, see
-                       <http://www.gnu.org/licenses/>.
-
-                For information regarding this software email:
-                  "Joseph Coffland" <joseph@buildbotics.com>
-
-\******************************************************************************/
-
-#include "coolant.h"
-
-#include "config.h"
-#include "outputs.h"
-
-
-void coolant_init() {}
-
-
-void coolant_set_mist(bool x) {outputs_set_active(SWITCH_1_PIN, x);}
-void coolant_set_flood(bool x) {outputs_set_active(SWITCH_2_PIN, x);}
-bool coolant_get_mist() {return outputs_is_active(SWITCH_1_PIN);}
-bool coolant_get_flood() {return outputs_is_active(SWITCH_2_PIN);}
diff --git a/src/avr/src/coolant.h b/src/avr/src/coolant.h
deleted file mode 100644 (file)
index f3cfed0..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/******************************************************************************\
-
-                This file is part of the Buildbotics firmware.
-
-                  Copyright (c) 2015 - 2017 Buildbotics LLC
-                            All rights reserved.
-
-     This file ("the software") is free software: you can redistribute it
-     and/or modify it under the terms of the GNU General Public License,
-      version 2 as published by the Free Software Foundation. You should
-      have received a copy of the GNU General Public License, version 2
-     along with the software. If not, see <http://www.gnu.org/licenses/>.
-
-     The software is distributed in the hope that it will be useful, but
-          WITHOUT ANY WARRANTY; without even the implied warranty of
-      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-               Lesser General Public License for more details.
-
-       You should have received a copy of the GNU Lesser General Public
-                License along with the software.  If not, see
-                       <http://www.gnu.org/licenses/>.
-
-                For information regarding this software email:
-                  "Joseph Coffland" <joseph@buildbotics.com>
-
-\******************************************************************************/
-
-#pragma once
-
-#include <stdbool.h>
-
-
-void coolant_init();
-void coolant_set_mist(bool x);
-void coolant_set_flood(bool x);
index d19fe5db8e9c6150274366aec864e5c4aa27dc9a..897c070dd20869576f147585931a4e911fd57b93 100644 (file)
@@ -118,8 +118,6 @@ VAR(speed,           s,  f32,   0,      1, 1, "Current spindle speed")
 VAR(tool,            t,  u8,    0,      1, 1, "Current tool")
 VAR(feed_override,   fo, f32,   0,      1, 1, "Feed rate override")
 VAR(speed_override,  so, f32,   0,      1, 1, "Spindle speed override")
-VAR(mist_coolant,    mc, bool,  0,      1, 1, "Mist coolant enabled")
-VAR(flood_coolant,   fc, bool,  0,      1, 1, "Flood coolant enabled")
 
 // System
 VAR(velocity,        v,  f32,   0,      0, 1, "Current velocity")
index f4119df9f564f13fd081e65a6b2e41815d764e16..ad89f2515f09883a9135201437fde4a7c720e7df 100644 (file)
@@ -109,8 +109,6 @@ char *usart_readline() {
 }
 
 
-void coolant_set_mist(bool x) {DEBUG_CALL("%s", x ? "true" : "false");}
-void coolant_set_flood(bool x) {DEBUG_CALL("%s", x ? "true" : "false");}
 void spindle_set_speed(float speed) {DEBUG_CALL("%f", speed);}
 void spindle_stop() {}