Version 0.65e.

Turn Z probe type 2 LED on even if an M558 P1 is sent.  This means that a Probe 2 will
emulate a Probe 1 if the user mistakenly sends M558 P1 to it.  Also both Probe 1
and Probe 2 will work properly if they are properly selected (as before).
This commit is contained in:
Adrian Bowyer 2014-05-13 22:00:47 +01:00
parent e73f2e083d
commit fa64e8b5aa
6 changed files with 3 additions and 3 deletions

View file

@ -24,8 +24,8 @@ Licence: GPL
#define CONFIGURATION_H #define CONFIGURATION_H
#define NAME "RepRapFirmware" #define NAME "RepRapFirmware"
#define VERSION "0.65d" #define VERSION "0.65e"
#define DATE "2014-05-08" #define DATE "2014-05-13"
#define LAST_AUTHOR "reprappro" #define LAST_AUTHOR "reprappro"
// Other firmware that we might switch to be compatible with. // Other firmware that we might switch to be compatible with.

View file

@ -233,7 +233,7 @@ void Platform::InitZProbe()
zProbeOnSum = 0; zProbeOnSum = 0;
zProbeOffSum = 0; zProbeOffSum = 0;
if (zProbeType == 2) if (zProbeModulationPin >= 0)
{ {
pinMode(zProbeModulationPin, OUTPUT); pinMode(zProbeModulationPin, OUTPUT);
digitalWrite(zProbeModulationPin, HIGH); // enable the IR LED digitalWrite(zProbeModulationPin, HIGH); // enable the IR LED