Permalink
Browse files

fixes

  • Loading branch information...
1 parent cce7062 commit aef4e0b57eb318077e2996586f386675a8a33fb9 @rkoeppl rkoeppl committed Jun 26, 2016
Showing with 4 additions and 2 deletions.
  1. +4 −2 modules/printengine.pl
View
@@ -184,9 +184,11 @@
unless (defined $pin_trigger_post and length $pin_trigger_post and defined $pin_trigger_pre and length $pin_trigger_pre){
die "trigger pin definition incomplete\n";}
}
-elsif ($controllerboard eq "raspiarduinoramps")
+elsif ($controllerboard eq "raspiarduinoramps"){
+say "Raspberry PI with Arduino selected, checking board type! - check command still missing";
unless (defined $arduinotty and length $arduinotty and defined $arduinottybaudrate and length $arduinottybaudrate){
-die "trigger pin definition incomplete\n";
+die "trigger pin definition incomplete\n";}
+}
else {
say "unknown controller type $controllerboard , please review your configuration, get in touch with developers or fork the code on Github and contribute the code to use the new printer"
;

0 comments on commit aef4e0b

Please sign in to comment.