Skip to content

'Z_MIN_PROBE_ENDSTOP_INVERTING' was not declared in this scope #302

@Maxwime

Description

@Maxwime

Hello, l’m trying to build my own 3D printer, base on CREALITY ENDER3 TOUCHCREEN + 4.2.7 MOTHERBOARD and CRTOUCH.
I use CrealityDwin2.0_Bleeding with Configurations-bugfix-2.1.x ender 3 exemple.

But I have build error:

In file included from Marlin\src\feature\bltouch.cpp:39:
Marlin\src\feature\bltouch.cpp: In static member function 'static bool BLTouch::triggered()':
Marlin\src\feature../module/probe.h:47:55: error: 'Z_MIN_PROBE_ENDSTOP_INVERTING' was not declared in this scope; did you mean 'Z_MIN_PROBE_ENDSTOP_HIT_STATE'?
47 | #define PROBE_TRIGGERED() (READ(Z_MIN_PROBE_PIN) != Z_MIN_PROBE_ENDSTOP_INVERTING)
Marlin\src\feature\bltouch.cpp:96:36: note: in expansion of macro 'PROBE_TRIGGERED'
96 | bool BLTouch::triggered() { return PROBE_TRIGGERED(); }
| ^~~~~~~~~~~~~~~
*** [.pio\build\STM32F103RE_creality\src\src\feature\bltouch.cpp.o] Error 1

I dont know what to do to correct the probleme?

Thanks

Configuration.txt
Configuration_adv.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions