Skip to content
Snippets Groups Projects
Commit 5ebcf024 authored by Vilde Rieker's avatar Vilde Rieker
Browse files

tested and fixed some issues. filter 1 working as it should it seems, but...

tested and fixed some issues. filter 1 working as it should it seems, but filter two is not. probably due to opposite min/max. to be fixed
parent aaf1b27f
No related branches found
No related tags found
1 merge request!20Doublefilter
......@@ -118,7 +118,7 @@ void filter_control(int filter) {
bufferWrite(output_buff, sizeof(output_buff), output_buffCount, F("< FILTER MOVING...\n"));
output_buff_flush();
while (filter_pos != filter_goto) {
while (filter_pos[filter] != filter_goto[filter]) {
if (digitalRead(emergency_stop_pin) == emergency_isEmergency) {
bufferWrite(output_buff, sizeof(output_buff), output_buffCount, F("< FILTER ERROR EMERGENCY STOP\n"));
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment