Fix MK25 build

This commit is contained in:
D.R.racer 2022-05-25 21:10:23 +02:00
parent d628525a94
commit ba8332cd3e
1 changed files with 2 additions and 0 deletions

View File

@ -404,6 +404,7 @@ bool PAT9125_sensor::update() {
return false;
}
#ifdef FSENSOR_PROBING
bool PAT9125_sensor::probeOtherType() {
SET_INPUT(IR_SENSOR_PIN); // input mode
WRITE(IR_SENSOR_PIN, 1); // pullup
@ -413,6 +414,7 @@ bool PAT9125_sensor::probeOtherType() {
WRITE(IR_SENSOR_PIN, 0); // no pullup
return fsensorDetected;
}
#endif
void PAT9125_sensor::setJamDetectionEnabled(bool state, bool updateEEPROM) {
jamDetection = state;